]> xenbits.xensource.com Git - libvirt.git/commit
conf: Add support for virtio-net.rx_queue_size
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 18 Aug 2016 16:19:13 +0000 (18:19 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 9 Sep 2016 14:16:59 +0000 (16:16 +0200)
commitc56cdf25935e0e7fe6b0e803d62fec223b9a0df2
tree07f69ad8522ee44c5cc165afb0573f9a46121b54
parent13350a17e4c6546d754b6c1214d4d18b4707e7c4
conf: Add support for virtio-net.rx_queue_size

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

QEMU added another virtio-net tunable [1]. It basically allows
users to set the size of RX virtio ring. But because virtio-net
uses two separate ring buffers to pass data from/to guest they
named it explicitly rx_queue_size. We should expose it in our XML
too.

1: http://lists.nongnu.org/archive/html/qemu-devel/2016-08/msg02029.html

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_domain.c
tests/qemuxml2argvdata/qemuxml2argv-net-virtio-rxqueuesize-invalid-size.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-net-virtio-rxqueuesize.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/qemuxml2xmlout-net-virtio-rxqueuesize.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c