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:
parent
e97c3109af
commit
efb0839c1d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user