2016-05-03 23:55:59 +02:00
|
|
|
Index: libvirt-1.3.4/src/xenconfig/xen_sxpr.c
|
2008-11-07 15:20:28 +01:00
|
|
|
===================================================================
|
2016-05-03 23:55:59 +02:00
|
|
|
--- libvirt-1.3.4.orig/src/xenconfig/xen_sxpr.c
|
|
|
|
+++ libvirt-1.3.4/src/xenconfig/xen_sxpr.c
|
2016-03-01 18:58:15 +01:00
|
|
|
@@ -392,7 +392,7 @@ xenParseSxprVifRate(const char *rate, un
|
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,
|
2016-01-18 20:32:30 +01:00
|
|
|
- int hvm)
|
|
|
|
+ int hvm ATTRIBUTE_UNUSED)
|
2010-11-01 23:38:39 +01:00
|
|
|
{
|
|
|
|
const struct sexpr *cur, *node;
|
2016-01-18 20:32:30 +01:00
|
|
|
virDomainDiskDefPtr disk = NULL;
|
2016-03-01 18:58:15 +01:00
|
|
|
@@ -442,7 +442,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")) {
|
2012-09-12 17:08:18 +02:00
|
|
|
virReportError(VIR_ERR_INTERNAL_ERROR,
|
|
|
|
"%s", _("domain information incomplete, vbd has no src"));
|