]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Assume QEMU_CAPS_VIRTIO_NET_RX_QUEUE_SIZE
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 7 Nov 2022 14:06:49 +0000 (15:06 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 8 Nov 2022 11:10:50 +0000 (12:10 +0100)
commit7fd84651871d3cd0e0a0ef0938767623d294a956
tree08505a35bbf2f78571c37a55237dae3bea26e68d
parent4a7ec2b8d4bbd7a0da308659bfb1321388b830f9
qemu: Assume QEMU_CAPS_VIRTIO_NET_RX_QUEUE_SIZE

Introduced in QEMU's commit of v2.8.0-rc0~116^2~26 the
.rx_queue_size attribute of virtio-net device is always available
for all QEMU versions we support (4.2.0, currently). Therefore,
we can assume the capability is always set and thus doesn't need
to be checked for.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_validate.c
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c