File pv-cdrom-connect.patch of Package libvirt
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
@@ -1691,8 +1691,10 @@ xenDaemonParseSxprDisks(virConnectPtr co
if (src == NULL) {
/* There is a case without the uname to the CD-ROM device */
offset = strchr(dst, ':');
- if (!offset ||
- !hvm ||
+ /* Only CDROM and Floppy devices are allowed missing source path
+ * to indicate no media present */
+ if ((!offset ||
+ !hvm ) &&
STRNEQ(offset, ":cdrom")) {
virXendError(conn, VIR_ERR_INTERNAL_ERROR,
_("domain information incomplete, vbd has no src"));