rpms/libvirt/devel libvirt-0.6.2-svirt-sound.patch, NONE, 1.1 .cvsignore, 1.38, 1.39 libvirt.spec, 1.122, 1.123 sources, 1.39, 1.40 libvirt-0.6.1-events-dispatch.patch, 1.1, NONE libvirt-0.6.1-fd-leaks.patch, 1.1, NONE libvirt-0.6.1-fd-leaks2.patch, 1.1, NONE libvirt-0.6.1-getvcpus-remote.patch, 1.1, NONE libvirt-0.6.1-pool-mode-parse.patch, 1.1, NONE libvirt-0.6.1-storage-free.patch, 1.1, NONE libvirt-0.6.1-svirt-shared-readonly.patch, 1.1, NONE libvirt-0.6.1-svirt-sound.patch, 1.2, NONE libvirt-0.6.1-vcpu-deadlock.patch, 1.1, NONE libvirt-0.6.1-vnc-sasl-auth.patch, 1.1, NONE libvirt-0.6.1-xen-events.patch, 1.1, NONE libvirt-0.6.1-xenblock-detach.patch, 1.1, NONE libvirt-0.6.1-xend-lookup.patch, 1.1, NONE
Daniel Veillard
veillard at fedoraproject.org
Fri Apr 3 15:52:41 UTC 2009
Author: veillard
Update of /cvs/pkgs/rpms/libvirt/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6810
Modified Files:
.cvsignore libvirt.spec sources
Added Files:
libvirt-0.6.2-svirt-sound.patch
Removed Files:
libvirt-0.6.1-events-dispatch.patch
libvirt-0.6.1-fd-leaks.patch libvirt-0.6.1-fd-leaks2.patch
libvirt-0.6.1-getvcpus-remote.patch
libvirt-0.6.1-pool-mode-parse.patch
libvirt-0.6.1-storage-free.patch
libvirt-0.6.1-svirt-shared-readonly.patch
libvirt-0.6.1-svirt-sound.patch
libvirt-0.6.1-vcpu-deadlock.patch
libvirt-0.6.1-vnc-sasl-auth.patch
libvirt-0.6.1-xen-events.patch
libvirt-0.6.1-xenblock-detach.patch
libvirt-0.6.1-xend-lookup.patch
Log Message:
libvirt-0.6.2 release
remove old patches
update the svirt sound patch
Daniel
libvirt-0.6.2-svirt-sound.patch:
--- NEW FILE libvirt-0.6.2-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 (vm->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 (vm->def->nsounds) {
+ if (vm->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.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- .cvsignore 4 Mar 2009 13:33:45 -0000 1.38
+++ .cvsignore 3 Apr 2009 15:52:11 -0000 1.39
@@ -5,3 +5,4 @@
libvirt-*.tar.gz
libvirt-0.6.0.tar.gz
libvirt-0.6.1.tar.gz
+libvirt-0.6.2.tar.gz
Index: libvirt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt/devel/libvirt.spec,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -r1.122 -r1.123
--- libvirt.spec 3 Apr 2009 15:18:03 -0000 1.122
+++ libvirt.spec 3 Apr 2009 15:52:11 -0000 1.123
@@ -13,6 +13,25 @@
%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_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_storage_fs 0%{!?_without_storage_fs:1}
+%define with_storage_lvm 0%{!?_without_storage_lvm:1}
+%define with_storage_iscsi 0%{!?_without_storage_iscsi:1}
+%define with_storage_disk 0%{!?_without_storage_disk:1}
+%define with_numactl 0%{!?_without_numactl:1}
+
+
# Xen is available only on i386 x86_64 ia64
%ifnarch i386 i586 i686 x86_64 ia64
%define with_xen 0
@@ -46,29 +65,15 @@
Summary: Library providing a simple API virtualization
Name: libvirt
-Version: 0.6.1
-Release: 6%{?dist}%{?extra_release}
+Version: 0.6.2
+Release: 1%{?dist}%{?extra_release}
License: LGPLv2+
Group: Development/Libraries
Source: libvirt-%{version}.tar.gz
-Patch1: libvirt-0.6.1-xend-lookup.patch
-Patch2: libvirt-0.6.1-xen-events.patch
-Patch3: libvirt-0.6.1-events-dispatch.patch
-Patch4: libvirt-0.6.1-fd-leaks.patch
-Patch5: libvirt-0.6.1-getvcpus-remote.patch
-Patch6: libvirt-0.6.1-pool-mode-parse.patch
-Patch7: libvirt-0.6.1-storage-free.patch
-Patch8: libvirt-0.6.1-vcpu-deadlock.patch
-Patch9: libvirt-0.6.1-xenblock-detach.patch
-Patch10: libvirt-0.6.1-fd-leaks2.patch
-Patch11: libvirt-0.6.1-svirt-shared-readonly.patch
-
-# Not upstream yet - pending QEMU merge
-Patch100: libvirt-0.6.1-vnc-sasl-auth.patch
# Not for upstream. Temporary hack till PulseAudio autostart
# problems are sorted out when SELinux enforcing
-Patch200: libvirt-0.6.1-svirt-sound.patch
+Patch200: libvirt-0.6.2-svirt-sound.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
URL: http://libvirt.org/
@@ -92,11 +97,13 @@
%if %{with_polkit}
Requires: PolicyKit >= 0.6
%endif
+%if %{with_storage_fs}
# For mount/umount in FS driver
BuildRequires: util-linux
# For showmount in FS driver (netfs discovery)
BuildRequires: nfs-utils
Requires: nfs-utils
+%endif
%if %{with_qemu}
# From QEMU RPMs
Requires: /usr/bin/qemu-img
@@ -106,12 +113,18 @@
Requires: /usr/sbin/qcow-create
%endif
%endif
+%if %{with_storage_lvm}
# For LVM drivers
Requires: lvm2
+%endif
+%if %{with_storage_iscsi}
# For ISCSI driver
Requires: iscsi-initiator-utils
+%endif
+%if %{with_storage_disk}
# For disk driver
Requires: parted
+%endif
# For svirt support
Requires: libselinux
%if %{with_xen}
@@ -139,8 +152,10 @@
%if %{with_polkit}
BuildRequires: PolicyKit-devel >= 0.6
%endif
+%if %{with_storage_fs}
# For mount/umount in FS driver
BuildRequires: util-linux
+%endif
%if %{with_qemu}
# From QEMU RPMs
BuildRequires: /usr/bin/qemu-img
@@ -150,14 +165,22 @@
BuildRequires: /usr/sbin/qcow-create
%endif
%endif
+%if %{with_storage_lvm}
# For LVM drivers
BuildRequires: lvm2
+%endif
+%if %{with_storage_iscsi}
# For ISCSI driver
BuildRequires: iscsi-initiator-utils
+%endif
+%if %{with_storage_disk}
# For disk driver
BuildRequires: parted-devel
+%endif
+%if %{with_numactl}
# For QEMU/LXC numa info
BuildRequires: numactl-devel
+%endif
Obsoletes: libvir <= 0.2
Provides: libvir = %{version}-%{release}
@@ -200,20 +223,8 @@
%prep
%setup -q
-%patch1 -p0
-%patch2 -p0
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p0
-%patch11 -p1
-%patch100 -p1
-%patch200 -p1
+%patch200 -p0
mv NEWS NEWS.old
iconv -f ISO-8859-1 -t UTF-8 < NEWS.old > NEWS
@@ -267,6 +278,26 @@
%define _without_network --without-network
%endif
+%if ! %{with_storage_fs}
+%define _without_storage_fs --without-storage-fs
+%endif
+
+%if ! %{with_storage_lvm}
+%define _without_storage_lvm --without-storage-lvm
+%endif
+
+%if ! %{with_storage_iscsi}
+%define _without_storage_iscsi --without-storage-iscsi
+%endif
+
+%if ! %{with_storage_disk}
+%define _without_storage_disk --without-storage-disk
+%endif
+
+%if ! %{with_numactl}
+%define _without_numactl --without-numactl
+%endif
+
%configure %{?_without_xen} \
%{?_without_qemu} \
%{?_without_openvz} \
@@ -279,6 +310,11 @@
%{?_without_uml} \
%{?_without_network} \
%{?_with_rhel5_api} \
+ %{?_without_storage_fs} \
+ %{?_without_storage_lvm} \
+ %{?_without_storage_iscsi} \
+ %{?_without_storage_disk} \
+ %{?_without_numactl} \
--with-init-script=redhat \
--with-qemud-pid-file=%{_localstatedir}/run/libvirt_qemud.pid \
--with-remote-file=%{_localstatedir}/run/libvirtd.pid
@@ -506,6 +542,14 @@
%endif
%changelog
+* Fri Apr 3 2009 Daniel Veillard <veillard at redhat.com> - 0.6.2-1.fc11
+- release of 0.6.2
+- memory ballooning in QEMU
+- SCSI HBA storage pool support
+- support SASL auth for VNC server
+- PCI passthrough in Xen driver
+- assorted bug fixes
+
* Fri Apr 3 2009 Daniel P. Berrange <berrange at redhat.com> - 0.6.1-6.fc11
- Fix typo in previous patch
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt/devel/sources,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- sources 4 Mar 2009 13:33:45 -0000 1.39
+++ sources 3 Apr 2009 15:52:11 -0000 1.40
@@ -1 +1 @@
-3154ea9d4a0778497dfdf58cb98127c0 libvirt-0.6.1.tar.gz
+3035b484861516a1cd425acef1e760e3 libvirt-0.6.2.tar.gz
--- libvirt-0.6.1-events-dispatch.patch DELETED ---
--- libvirt-0.6.1-fd-leaks.patch DELETED ---
--- libvirt-0.6.1-fd-leaks2.patch DELETED ---
--- libvirt-0.6.1-getvcpus-remote.patch DELETED ---
--- libvirt-0.6.1-pool-mode-parse.patch DELETED ---
--- libvirt-0.6.1-storage-free.patch DELETED ---
--- libvirt-0.6.1-svirt-shared-readonly.patch DELETED ---
--- libvirt-0.6.1-svirt-sound.patch DELETED ---
--- libvirt-0.6.1-vcpu-deadlock.patch DELETED ---
--- libvirt-0.6.1-vnc-sasl-auth.patch DELETED ---
--- libvirt-0.6.1-xen-events.patch DELETED ---
--- libvirt-0.6.1-xenblock-detach.patch DELETED ---
--- libvirt-0.6.1-xend-lookup.patch DELETED ---
More information about the fedora-extras-commits
mailing list