14c21278a9
- Update to libvirt 3.1.0 - Modularize storage driver by splitting it into backend-specific subpackages - CVE-2017-2635, bsc#1027075 - Many incremental improvements and bug fixes, see http://libvirt.org/news.html - Dropped patches: b018ada3-shunloadtest-build-fix.patch, f86a7a83-libxl-dom0-balloon-fix.patch, 6e4759d0-libxl-timer-fix.patch, 87df87e0-libxl-timer-tsc-emulate.patch, b4386fda-xenconfig-timer-fix.patch, d3970925-timer-tests.patch, 321a28c6-libxl-default-disk-format.patch, bd116810-libxl-fix-disk-detach.patch, ff225538-libxl-autoballoon-setting.patch, c89a6e78-libxl-physinfo-cleanup.patch, d2b77608-libxl-maxmem-fix.patch, 79692c38-libxl-dom0-maxmem.patch, 4ab0c959-libxl-mem-leak.patch, 2dc1cf19-libxl-double-free.patch, apparmor-errormsg-fix.patch, apparmor-alt-seclabel.patch, qemu-disable-namespaces.patch OBS-URL: https://build.opensuse.org/request/show/476767 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=588
22 lines
960 B
Diff
22 lines
960 B
Diff
Index: libvirt-3.1.0/src/xenconfig/xen_sxpr.c
|
|
===================================================================
|
|
--- libvirt-3.1.0.orig/src/xenconfig/xen_sxpr.c
|
|
+++ libvirt-3.1.0/src/xenconfig/xen_sxpr.c
|
|
@@ -392,7 +392,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;
|
|
@@ -442,7 +442,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"));
|