]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Allow virtio-console on PPC64
authorShivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
Wed, 19 Oct 2016 13:29:02 +0000 (18:59 +0530)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 21 Dec 2016 17:01:10 +0000 (18:01 +0100)
commit5f65c96e8de95518d7a8d4cf3cedd9d6ab581f4f
tree209db1d574b351451cead57fb538999a4055a791
parent9f08b7663178b79614f3ba529bff8b940f7aa82d
Allow virtio-console on PPC64

virQEMUCapsSupportsChardev existing checks returns true
for spapr-vty alone. Instead verify spapr-vty validity
and let the logic to return true for other device types
so that virtio-console passes.

The non-pseries machines dont have spapr-vio-bus. So, the
function always returned false for them before.

Fixes - https://bugzilla.redhat.com/show_bug.cgi?id=1257813

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
src/qemu/qemu_capabilities.c