2012-04-12 23:33:51 +02:00
|
|
|
Index: libvirt-0.9.11/src/xenxs/xen_sxpr.c
|
2008-11-07 15:20:28 +01:00
|
|
|
===================================================================
|
2012-04-12 23:33:51 +02:00
|
|
|
--- libvirt-0.9.11.orig/src/xenxs/xen_sxpr.c
|
|
|
|
+++ libvirt-0.9.11/src/xenxs/xen_sxpr.c
|
2012-02-15 20:01:07 +01:00
|
|
|
@@ -340,7 +340,7 @@ error:
|
2010-11-01 23:38:39 +01:00
|
|
|
static int
|
2011-03-31 22:22:32 +02:00
|
|
|
xenParseSxprDisks(virDomainDefPtr def,
|
|
|
|
const struct sexpr *root,
|
|
|
|
- int hvm,
|
|
|
|
+ int hvm ATTRIBUTE_UNUSED,
|
|
|
|
int xendConfigVersion)
|
2010-11-01 23:38:39 +01:00
|
|
|
{
|
|
|
|
const struct sexpr *cur, *node;
|
2012-02-15 20:01:07 +01:00
|
|
|
@@ -391,7 +391,6 @@ xenParseSxprDisks(virDomainDefPtr def,
|
2010-10-02 00:46:48 +02:00
|
|
|
/* There is a case without the uname to the CD-ROM device */
|
|
|
|
offset = strchr(dst, ':');
|
|
|
|
if (!offset ||
|
|
|
|
- !hvm ||
|
|
|
|
STRNEQ(offset, ":cdrom")) {
|
2011-03-31 22:22:32 +02:00
|
|
|
XENXS_ERROR(VIR_ERR_INTERNAL_ERROR,
|
2010-10-02 00:46:48 +02:00
|
|
|
"%s", _("domain information incomplete, vbd has no src"));
|