a93eba1929
bnc#609738 xend-buff-size.patch - Add upstream fixes to bitmap code that was introduced to fix bnc#594024 bitmap-alloc.patch bitmap-fixes.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=55
17 lines
693 B
Diff
17 lines
693 B
Diff
Index: libvirt-0.8.1/src/xen/xend_internal.c
|
|
===================================================================
|
|
--- libvirt-0.8.1.orig/src/xen/xend_internal.c
|
|
+++ libvirt-0.8.1/src/xen/xend_internal.c
|
|
@@ -5545,7 +5545,10 @@ xenDaemonFormatSxprDisk(virConnectPtr co
|
|
} else if (def->device == VIR_DOMAIN_DISK_DEVICE_CDROM) {
|
|
virBufferVSprintf(buf, "(dev '%s:cdrom')", def->dst);
|
|
} 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) {
|