OBS User unknown 2008-11-24 19:51:38 +00:00 committed by Git OBS Bridge
parent cc3584ffb4
commit fc6430604d
3 changed files with 13 additions and 3 deletions

View File

@ -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");

View File

@ -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

View File

@ -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