Index: libvirt-0.8.0/src/xen/xend_internal.c =================================================================== --- libvirt-0.8.0.orig/src/xen/xend_internal.c +++ libvirt-0.8.0/src/xen/xend_internal.c @@ -5524,7 +5524,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) {