forked from pool/libvirt
4514dc2f52
- Move VirtualBox driver into libvirtd - Support for static routes on a virtual bridge - Various improvement for hostdev SCSI support - Switch to VIR_STRDUP and VIR_STRNDUP - Various cleanups and improvement in Xen and LXC drivers - Many incremental improvements and bug fixes, see http://libvirt.org/news.html - Drop upstream patches: f493d83f-cgroup-swap-control.patch, 486a86eb-cgroups-docs.patch, 0ced83dc-cgroup-escape-dot.patch, bbe97ae9-no-cgroups.patch, c2cf5f1c-no-cgroups-fix.patch, 95c6cc34-selinux.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=268
22 lines
918 B
Diff
22 lines
918 B
Diff
Index: libvirt-1.0.6/src/xenxs/xen_sxpr.c
|
|
===================================================================
|
|
--- libvirt-1.0.6.orig/src/xenxs/xen_sxpr.c
|
|
+++ libvirt-1.0.6/src/xenxs/xen_sxpr.c
|
|
@@ -328,7 +328,7 @@ error:
|
|
static int
|
|
xenParseSxprDisks(virDomainDefPtr def,
|
|
const struct sexpr *root,
|
|
- int hvm,
|
|
+ int hvm ATTRIBUTE_UNUSED,
|
|
int xendConfigVersion)
|
|
{
|
|
const struct sexpr *cur, *node;
|
|
@@ -379,7 +379,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"));
|