1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-25 01:34:11 +03:00

xen: Don't add <console> to xml for dom0

It just doesn't really make sense and confuses virt-manager
This commit is contained in:
Cole Robinson 2012-01-29 14:10:00 -05:00
parent e97c3109af
commit efb0839c1d

View File

@ -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;