]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Support usb-serial and pci-serial on pSeries
authorAndrea Bolognani <abologna@redhat.com>
Fri, 10 Nov 2017 16:57:53 +0000 (17:57 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 28 Nov 2017 14:46:33 +0000 (15:46 +0100)
commitb342e94399eee7fd519234a12ca3ea04f6564154
treee4931560aac2b64065c02ec23c4dd6869fd10e0b
parentc498a8921e447715189c8c6d22b7ca24cc810830
qemu: Support usb-serial and pci-serial on pSeries

The existing implementation set the address type for all serial
devices to spapr-vio, which made it impossible to use other devices
such as usb-serial and pci-serial; moreover, some decisions were
made based on the address type rather than the device type.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1512934

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_domain_address.c
tests/qemuxml2argvdata/qemuxml2argv-pseries-serial-pci.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-pseries-serial-pci.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-pseries-serial-usb.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-pseries-serial-usb.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/qemuxml2xmlout-pseries-serial-pci.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/qemuxml2xmlout-pseries-serial-usb.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c