forked from pool/libvirt
56793e96ce
- Update to libvirt 5.0.0 - Many incremental improvements and bug fixes, see http://libvirt.org/news.html - Remove UML hypervisor driver - Dropped patches: de09ae2f-libxl-support-openvswitch.patch, 0a1b5653-xenconfig-support-openvswitch.patch - FATE#320928, FATE#325817, FATE#326380, FATE#326698 OBS-URL: https://build.opensuse.org/request/show/666350 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=723
22 lines
960 B
Diff
22 lines
960 B
Diff
Index: libvirt-5.0.0/src/xenconfig/xen_sxpr.c
|
|
===================================================================
|
|
--- libvirt-5.0.0.orig/src/xenconfig/xen_sxpr.c
|
|
+++ libvirt-5.0.0/src/xenconfig/xen_sxpr.c
|
|
@@ -383,7 +383,7 @@ xenParseSxprVifRate(const char *rate, un
|
|
static int
|
|
xenParseSxprDisks(virDomainDefPtr def,
|
|
const struct sexpr *root,
|
|
- int hvm)
|
|
+ int hvm ATTRIBUTE_UNUSED)
|
|
{
|
|
const struct sexpr *cur, *node;
|
|
virDomainDiskDefPtr disk = NULL;
|
|
@@ -433,7 +433,6 @@ xenParseSxprDisks(virDomainDefPtr def,
|
|
/* There is a case without the uname to the CD-ROM device */
|
|
offset = strchr(dst, ':');
|
|
if (!offset ||
|
|
- !hvm ||
|
|
STRNEQ(offset, ":cdrom")) {
|
|
virReportError(VIR_ERR_INTERNAL_ERROR,
|
|
"%s", _("domain information incomplete, vbd has no src"));
|