]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Remove extra logic around QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY
authorPeter Krempa <pkrempa@redhat.com>
Thu, 23 Jun 2022 11:49:03 +0000 (13:49 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 1 Sep 2022 11:11:10 +0000 (13:11 +0200)
commit89c40977f2cfb8097e6cc75e8c02422ee3134c97
tree688923255aa8e2810d5b52d536c2f225123fb2cd
parentec91195ead01356475674e17b4a297bfd2cb5424
qemu: Remove extra logic around QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY

The virtio-*-(non-)-transitional device models which replace the use of
'disable-legacy'/'disable-modern' features were introduced in qemu-4.0.

This means we can remove the specific parts of the code for formatting
the old-style device options and replace all other code to solely depend
on the QEMU_CAPS_VIRTIO_PCI_TRANSITIONAL flag.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_command.c
src/qemu/qemu_domain_address.c