]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
conf: Swap order of AddImplicitControllers and DomainDefPostParse
authorViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Mon, 17 Jun 2013 14:17:37 +0000 (16:17 +0200)
committerJán Tomko <jtomko@redhat.com>
Fri, 28 Jun 2013 07:52:00 +0000 (09:52 +0200)
commitb291a00acaddca9047ba06fdf3d9bde570fb95fa
tree6465ae1dd11a6214b2265cbd60b1c4d34788f40d
parent38dc2122961de282c00b13595c81c33fc4bacf27
conf: Swap order of AddImplicitControllers and DomainDefPostParse

Implicit controllers may be dependent on device definitions altered
in a post-parse callback. Specifically, if a console device is
defined without the target type, the type will be set in QEMU's
callback. In the case of s390, this is virtio, which requires
an implicit virtio-serial controller.

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
src/conf/domain_conf.c
tests/qemuxml2xmloutdata/qemuxml2xmlout-balloon-device-auto.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-channel-virtio-auto.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-console-virtio.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-disk-scsi-device-auto.xml