e89319a285
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=aa90c5c57e358c84ad3f8e2966c4e2df
17 lines
693 B
Diff
17 lines
693 B
Diff
Index: libvirt-0.7.4/src/xen/xend_internal.c
|
|
===================================================================
|
|
--- libvirt-0.7.4.orig/src/xen/xend_internal.c
|
|
+++ libvirt-0.7.4/src/xen/xend_internal.c
|
|
@@ -5365,7 +5365,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) {
|