From 98bceee6b1dfa79b27ee27d45eb76a91c9184d49 Mon Sep 17 00:00:00 2001 From: Daniel P. Berrange Date: Feb 16 2007 22:08:59 +0000 Subject: Fix incompatabilities with qemu 0.9.0 --- diff --git a/libvirt.spec b/libvirt.spec index 3b9dabb..c509b78 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -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 - 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 - 0.2.0-2.fc7 - Fixed path to qemu daemon for autostart - Fixed generation of block in XML