From efb0839c1d5471ab70ad81a36372c5cb6e5ed9a6 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Sun, 29 Jan 2012 14:10:00 -0500 Subject: [PATCH] xen: Don't add to xml for dom0 It just doesn't really make sense and confuses virt-manager --- src/xenxs/xen_sxpr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenxs/xen_sxpr.c b/src/xenxs/xen_sxpr.c index 7a53f943e7..09e7730716 100644 --- a/src/xenxs/xen_sxpr.c +++ b/src/xenxs/xen_sxpr.c @@ -1392,7 +1392,7 @@ xenParseSxpr(const struct sexpr *root, chr->target.port = 0; def->parallels[def->nparallels++] = chr; } - } else { + } else if (def->id != 0) { def->nconsoles = 1; if (VIR_ALLOC_N(def->consoles, 1) < 0) goto no_memory;