This commit is contained in:
parent
0a70316b66
commit
8e48089ef0
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 6 19:14:29 MST 2008 - jfehlig@novell.com
|
||||
|
||||
- Fix handling of iso/cdrom for xen pv domains.
|
||||
bnc#437388
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 5 15:06:16 MST 2008 - jfehlig@novell.com
|
||||
|
||||
|
@ -49,7 +49,7 @@ License: LGPL v2.1 or later
|
||||
Group: Development/Libraries/C and C++
|
||||
AutoReqProv: yes
|
||||
Version: 0.4.6
|
||||
Release: 6
|
||||
Release: 7
|
||||
Summary: A C toolkit to interract with the virtualization capabilities of Linux
|
||||
Requires: readline
|
||||
Requires: ncurses
|
||||
@ -82,6 +82,7 @@ Patch12: lxcpty.patch
|
||||
Patch13: clone.patch
|
||||
Patch14: vnc-port.patch
|
||||
Patch15: suse-network.patch
|
||||
Patch16: xen-pv-cdrom.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -188,6 +189,7 @@ Authors:
|
||||
%patch13
|
||||
%patch14 -p1
|
||||
%patch15 -p1
|
||||
%patch16 -p1
|
||||
rm po/no.*
|
||||
|
||||
%build
|
||||
@ -320,6 +322,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{py_sitedir}/libvirtmod*
|
||||
|
||||
%changelog
|
||||
* Thu Nov 06 2008 jfehlig@novell.com
|
||||
- Fix handling of iso/cdrom for xen pv domains.
|
||||
bnc#437388
|
||||
* Wed Nov 05 2008 jfehlig@novell.com
|
||||
- Expose networks managed outside of libvirt as read-only.
|
||||
bnc#441633
|
||||
|
16
xen-pv-cdrom.patch
Normal file
16
xen-pv-cdrom.patch
Normal file
@ -0,0 +1,16 @@
|
||||
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
|
||||
@@ -5158,7 +5158,10 @@ xenDaemonFormatSxprDisk(virConnectPtr co
|
||||
def->device == VIR_DOMAIN_DISK_DEVICE_CDROM ?
|
||||
"cdrom" : "disk");
|
||||
} else {
|
||||
- virBufferVSprintf(buf, "(dev '%s')", def->dst);
|
||||
+ if (def->device == VIR_DOMAIN_DISK_DEVICE_CDROM)
|
||||
+ virBufferVSprintf(buf, "(dev '%s:cdrom')", def->dst);
|
||||
+ else
|
||||
+ virBufferVSprintf(buf, "(dev '%s')", def->dst);
|
||||
}
|
||||
|
||||
if (def->src) {
|
Loading…
Reference in New Issue
Block a user