From: Cole Robinson Date: Sun, 29 Jan 2012 19:10:00 +0000 (-0500) Subject: xen: Don't add to xml for dom0 X-Git-Tag: v0.9.6.1~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3d8f56d129f3686ab7d747dabb55c89009edbc76;p=thirdparty%2Flibvirt.git xen: Don't add to xml for dom0 It just doesn't really make sense and confuses virt-manager (cherry picked from commit efb0839c1d5471ab70ad81a36372c5cb6e5ed9a6) Conflicts: src/xenxs/xen_sxpr.c --- diff --git a/src/xenxs/xen_sxpr.c b/src/xenxs/xen_sxpr.c index 15eaf1863b..19fbcaa9a0 100644 --- a/src/xenxs/xen_sxpr.c +++ b/src/xenxs/xen_sxpr.c @@ -1377,7 +1377,7 @@ xenParseSxpr(const struct sexpr *root, chr->target.port = 0; def->parallels[def->nparallels++] = chr; } - } else { + } else if (def->id != 0) { /* Fake a paravirt console, since that's not in the sexpr */ if (!(def->console = xenParseSxprChar("pty", tty))) goto error;