]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Require QEMU_CAPS_DEVICE_PL011 for pl011
authorAndrea Bolognani <abologna@redhat.com>
Tue, 28 Nov 2017 10:34:55 +0000 (11:34 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 28 Nov 2017 14:58:41 +0000 (15:58 +0100)
commitb2fb483c34390b4c5eeff0304712cea0ace21d88
tree05b26e96fd7852f30a7c9bc55b35d761517d4d4d
parenta45ecb7bf6b43a863ef0980156e822d414975994
qemu: Require QEMU_CAPS_DEVICE_PL011 for pl011

Even though we never format the device on the QEMU command line,
as it's a platform serial device that's not user-instantiable,
we should still make sure it's available before using it.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvtest.c