forked from pool/libvirt
6d3a1703e9
- various improvements to libxl driver - systemd integration improvements - Add flag to BaselineCPU API to return detailed CPU features - Introduce a virt-login-shell binary - conf: add startupPolicy attribute for harddisk - Many incremental improvements and bug fixes, see http://libvirt.org/news.html - Drop upstream patches: bcef0f01-libxl-console.patch, 9d0557b9-legacy-xen-double-free.patch, d7a45bf2-legacy-xen-dumpxml.patch, 0e671a16-CVE-2013-4239.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=296
22 lines
918 B
Diff
22 lines
918 B
Diff
Index: libvirt-1.1.2/src/xenxs/xen_sxpr.c
|
|
===================================================================
|
|
--- libvirt-1.1.2.orig/src/xenxs/xen_sxpr.c
|
|
+++ libvirt-1.1.2/src/xenxs/xen_sxpr.c
|
|
@@ -327,7 +327,7 @@ error:
|
|
static int
|
|
xenParseSxprDisks(virDomainDefPtr def,
|
|
const struct sexpr *root,
|
|
- int hvm,
|
|
+ int hvm ATTRIBUTE_UNUSED,
|
|
int xendConfigVersion)
|
|
{
|
|
const struct sexpr *cur, *node;
|
|
@@ -378,7 +378,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"));
|