diff --git a/detach-disk.patch b/detach-disk.patch index 2176f1f..f2383c5 100644 --- a/detach-disk.patch +++ b/detach-disk.patch @@ -2,7 +2,7 @@ Index: libvirt-0.4.6/src/xend_internal.c =================================================================== --- libvirt-0.4.6.orig/src/xend_internal.c +++ libvirt-0.4.6/src/xend_internal.c -@@ -5615,11 +5615,15 @@ virDomainXMLDevID(virDomainPtr domain, +@@ -5615,11 +5615,16 @@ virDomainXMLDevID(virDomainPtr domain, char *xref; if (dev->type == VIR_DOMAIN_DEVICE_DISK) { @@ -10,7 +10,8 @@ Index: libvirt-0.4.6/src/xend_internal.c if (dev->data.disk->dst == NULL) return -1; + -+ if (strcasecmp(dev->data.disk->driverName, "tap") == 0) ++ if (dev->data.disk->driverName && ++ (strcasecmp(dev->data.disk->driverName, "tap") == 0)) + strcpy(class, "tap"); + else + strcpy(class, "vbd"); diff --git a/libvirt.changes b/libvirt.changes index 4087f39..1374b67 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 24 10:51:53 MST 2008 - jfehlig@novell.com + +- Fix connecting/disconnecting ISO via virt-manager + bnc#446773 + ------------------------------------------------------------------- Thu Nov 20 21:53:13 MST 2008 - jfehlig@novell.com diff --git a/libvirt.spec b/libvirt.spec index d913e85..badd1c4 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -49,7 +49,7 @@ License: LGPL v2.1 or later Group: Development/Libraries/C and C++ AutoReqProv: yes Version: 0.4.6 -Release: 8 +Release: 9 Summary: A C toolkit to interract with the virtualization capabilities of Linux Requires: readline Requires: ncurses @@ -324,6 +324,9 @@ rm -rf $RPM_BUILD_ROOT %{py_sitedir}/libvirtmod* %changelog +* Mon Nov 24 2008 jfehlig@novell.com +- Fix connecting/disconnecting ISO via virt-manager + bnc#446773 * Thu Nov 20 2008 jfehlig@novell.com - Fix detach of Xen tap devices bnc#410644 and bnc#411633