[fedora-virt-maint] rpms/libvirt/devel libvirt-0.6.3-svirt-sound.patch, NONE, 1.1 .cvsignore, 1.39, 1.40 libvirt.spec, 1.124, 1.125 sources, 1.40, 1.41 libvirt-0.6.2-qemu-drive-format.patch, 1.1, NONE libvirt-0.6.2-svirt-sound.patch, 1.1, NONE
Daniel Veillard
veillard at fedoraproject.org
Fri Apr 24 14:57:51 UTC 2009
Author: veillard
Update of /cvs/pkgs/rpms/libvirt/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28775
Modified Files:
.cvsignore libvirt.spec sources
Added Files:
libvirt-0.6.3-svirt-sound.patch
Removed Files:
libvirt-0.6.2-qemu-drive-format.patch
libvirt-0.6.2-svirt-sound.patch
Log Message:
Upstream release, 0.6.3, Daniel
libvirt-0.6.3-svirt-sound.patch:
--- NEW FILE libvirt-0.6.3-svirt-sound.patch ---
--- src/qemu_conf.c.orig 2009-04-02 11:50:10.000000000 +0200
+++ src/qemu_conf.c 2009-04-03 17:46:59.000000000 +0200
@@ -779,6 +779,20 @@ int qemudBuildCommandLine(virConnectPtr
char domid[50];
char *pidfile;
const char *cpu = NULL;
+ int skipSound = 0;
+
+ if (driver->securityDriver &&
+ driver->securityDriver->name &&
+ STREQ(driver->securityDriver->name, "selinux") &&
+ getuid() == 0) {
+ static int soundWarned = 0;
+ skipSound = 1;
+ if (def->nsounds &&
+ !soundWarned) {
+ soundWarned = 1;
+ VIR_WARN0("Sound cards for VMs are disabled while SELinux security model is active");
+ }
+ }
uname_normalize(&ut);
@@ -1425,7 +1439,8 @@ int qemudBuildCommandLine(virConnectPtr
}
/* Add sound hardware */
- if (def->nsounds) {
+ if (def->nsounds &&
+ !skipSound) {
int size = 100;
char *modstr;
if (VIR_ALLOC_N(modstr, size+1) < 0)
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt/devel/.cvsignore,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- .cvsignore 3 Apr 2009 15:52:11 -0000 1.39
+++ .cvsignore 24 Apr 2009 14:57:21 -0000 1.40
@@ -6,3 +6,4 @@
libvirt-0.6.0.tar.gz
libvirt-0.6.1.tar.gz
libvirt-0.6.2.tar.gz
+libvirt-0.6.3.tar.gz
Index: libvirt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt/devel/libvirt.spec,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -r1.124 -r1.125
--- libvirt.spec 16 Apr 2009 15:25:28 -0000 1.124
+++ libvirt.spec 24 Apr 2009 14:57:21 -0000 1.125
@@ -1,26 +1,14 @@
# -*- rpm-spec -*-
-%define with_xen 0%{!?_without_xen:1}
-%define with_xen_proxy 0%{!?_without_xen_proxy:1}
-%define with_qemu 0%{!?_without_qemu:1}
-%define with_openvz 0%{!?_without_openvz:1}
-%define with_lxc 0%{!?_without_lxc:1}
-%define with_sasl 0%{!?_without_sasl:1}
-%define with_avahi 0%{!?_without_avahi:1}
-%define with_polkit 0%{!?_without_polkit:0}
-%define with_python 0%{!?_without_python:1}
-%define with_libvirtd 0%{!?_without_libvirtd:1}
-%define with_uml 0%{!?_without_uml:1}
-%define with_network 0%{!?_without_network:1}
-
%define with_xen 0%{!?_without_xen:1}
%define with_xen_proxy 0%{!?_without_xen_proxy:1}
%define with_qemu 0%{!?_without_qemu:1}
%define with_openvz 0%{!?_without_openvz:1}
%define with_lxc 0%{!?_without_lxc:1}
+%define with_vbox 0%{!?_without_vbox:1}
%define with_sasl 0%{!?_without_sasl:1}
%define with_avahi 0%{!?_without_avahi:1}
-%define with_polkit 0%{!?_without_polkit:0}
+%define with_polkit 0%{!?_without_polkit:1}
%define with_python 0%{!?_without_python:1}
%define with_libvirtd 0%{!?_without_libvirtd:1}
%define with_uml 0%{!?_without_uml:1}
@@ -60,23 +48,24 @@
%define with_rhel5 0
%else
%define with_rhel5 1
+%define with_polkit 0
%endif
Summary: Library providing a simple API virtualization
Name: libvirt
-Version: 0.6.2
-Release: 2%{?dist}%{?extra_release}
+Version: 0.6.3
+Release: 1%{?dist}%{?extra_release}
License: LGPLv2+
Group: Development/Libraries
Source: libvirt-%{version}.tar.gz
# Patches cherry-picked from upstream
-Patch0: libvirt-0.6.2-qemu-drive-format.patch
+# N/A
# Not for upstream. Temporary hack till PulseAudio autostart
# problems are sorted out when SELinux enforcing
-Patch200: libvirt-0.6.2-svirt-sound.patch
+Patch200: libvirt-0.6.3-svirt-sound.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
URL: http://libvirt.org/
@@ -227,8 +216,6 @@
%prep
%setup -q
-%patch0 -p1
-
%patch200 -p0
mv NEWS NEWS.old
@@ -251,6 +238,10 @@
%define _without_lxc --without-lxc
%endif
+%if ! %{with_vbox}
+%define _without_vbox --without-vbox
+%endif
+
%if ! %{with_sasl}
%define _without_sasl --without-sasl
%endif
@@ -307,6 +298,7 @@
%{?_without_qemu} \
%{?_without_openvz} \
%{?_without_lxc} \
+ %{?_without_vbox} \
%{?_without_sasl} \
%{?_without_avahi} \
%{?_without_polkit} \
@@ -341,7 +333,7 @@
install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/run/libvirt/
# Default dir for disk images defined in SELinux policy
install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/lib/libvirt/images/
-# Default dir for kernel+initrd images defnied in SELinux policy
+# Default dir for kernel+initrd images defined in SELinux policy
install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/lib/libvirt/boot/
%if %{with_qemu}
@@ -414,8 +406,10 @@
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS README COPYING.LIB TODO
-%doc %{_mandir}/man1/virsh.1*
+%{_mandir}/man1/virsh.1*
+%{_mandir}/man1/virt-xml-validate.1*
%{_bindir}/virsh
+%{_bindir}/virt-xml-validate
%{_libdir}/lib*.so.*
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/
@@ -547,6 +541,12 @@
%endif
%changelog
+* Fri Apr 24 2009 Daniel Veillard <veillard at redhat.com> - 0.6.3-1.fc12
+- release of 0.6.3
+- VirtualBox driver
+- new virt-xml-validate command
+- assorted bug fixes
+
* Thu Apr 16 2009 Mark McLoughlin <markmc at redhat.com> - 0.6.2-2.fc12
- Fix qemu drive format specification (#496092)
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt/devel/sources,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- sources 3 Apr 2009 15:52:11 -0000 1.40
+++ sources 24 Apr 2009 14:57:21 -0000 1.41
@@ -1 +1 @@
-3035b484861516a1cd425acef1e760e3 libvirt-0.6.2.tar.gz
+dd618bf0943a0be853ccc08308c7f427 libvirt-0.6.3.tar.gz
--- libvirt-0.6.2-qemu-drive-format.patch DELETED ---
--- libvirt-0.6.2-svirt-sound.patch DELETED ---
More information about the Fedora-virt-maint
mailing list