2018-07-16 16:42:10 +00:00
|
|
|
Index: libvirt-4.5.0/src/xenconfig/xen_sxpr.c
|
2008-11-07 14:20:28 +00:00
|
|
|
===================================================================
|
2018-07-16 16:42:10 +00:00
|
|
|
--- libvirt-4.5.0.orig/src/xenconfig/xen_sxpr.c
|
|
|
|
+++ libvirt-4.5.0/src/xenconfig/xen_sxpr.c
|
2017-11-02 22:48:50 +00:00
|
|
|
@@ -387,7 +387,7 @@ xenParseSxprVifRate(const char *rate, un
|
2010-11-01 22:38:39 +00:00
|
|
|
static int
|
2011-03-31 20:22:32 +00:00
|
|
|
xenParseSxprDisks(virDomainDefPtr def,
|
|
|
|
const struct sexpr *root,
|
2016-01-18 19:32:30 +00:00
|
|
|
- int hvm)
|
|
|
|
+ int hvm ATTRIBUTE_UNUSED)
|
2010-11-01 22:38:39 +00:00
|
|
|
{
|
|
|
|
const struct sexpr *cur, *node;
|
2016-01-18 19:32:30 +00:00
|
|
|
virDomainDiskDefPtr disk = NULL;
|
2017-11-02 22:48:50 +00:00
|
|
|
@@ -437,7 +437,6 @@ xenParseSxprDisks(virDomainDefPtr def,
|
2010-10-01 22:46:48 +00: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 15:08:18 +00:00
|
|
|
virReportError(VIR_ERR_INTERNAL_ERROR,
|
|
|
|
"%s", _("domain information incomplete, vbd has no src"));
|