Fix incompatabilities with qemu 0.9.0

This commit is contained in:
Daniel P. Berrange 2007-02-16 22:08:59 +00:00
parent 4e70e5049f
commit 98bceee6b1

View File

@ -3,7 +3,7 @@
Summary: Library providing an API to use the Xen virtualization
Name: libvirt
Version: 0.2.0
Release: 2%{?dist}
Release: 3%{?dist}
License: LGPL
Group: Development/Libraries
Source: libvirt-%{version}.tar.gz
@ -25,6 +25,14 @@ Obsoletes: libvir
ExclusiveArch: i386 x86_64 ia64
Patch0: libvirt-0.2.0-Werror.patch
Patch2: libvirt-0.2.0-qemu-fixes.patch
# The 0.9.0 build of QEMU in Fedora has compiled out
# the normal KQEMU support, so we drop that from libvirt
# too, otherwise we fail on the unknown -no-kqemu command
# line arg to qemu
Patch3: libvirt-0.2.0-disable-kqemu.patch
# QEMU 0.9.0 wants a : in front of the port number now :-(
Patch4: libvirt-0.2.0-vnc-port.patch
%description
This C library provides an API to use the Xen virtualization framework,
@ -56,6 +64,8 @@ supplied by the libvirt library to use the Xen virtualization framework.
%setup -q
%patch0 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
%configure
@ -123,6 +133,10 @@ rm -fr %{buildroot}
%doc docs/examples/python
%changelog
* Fri Feb 16 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-3.fc7
- Disable kqemu support since its not in Fedora qemu binary
- Fix for -vnc arg syntax change in 0.9.0 QEMU
* Thu Feb 15 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-2.fc7
- Fixed path to qemu daemon for autostart
- Fixed generation of <features> block in XML