[libvirt] [PATCH v2 00/12] Multiple TX queue support

Michal Privoznik mprivozn at redhat.com
Mon May 13 17:22:57 UTC 2013


Just a rebased version of [1].

Kernel and subsequently QEMU learned multiple transmit queues a while ago. The
feature has a nice advantage, it allows a single guest to transmit multiple
flows of network data using multiple CPUs simultaneously which increase traffic
bandwidth. A lot.

The documentation how to use this is available at [2] or [3].

1: https://www.redhat.com/archives/libvir-list/2013-April/msg01548.html

2: https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/tree/Documentation/networking/tuntap.txt

3: http://git.qemu.org/?p=qemu.git;a=blob;f=qemu-options.hx;hb=HEAD#l1363



Michal Privoznik (12):
  Introduce /domain/devices/interface/driver/@queues attribute
  qemu: Move interface cmd line construction into a separate function
  qemu: Make qemuMonitorAddHostNetwork to pass multiple FDs
  qemu: Make qemuMonitorAddHostNetwork to pass multiple FDs
  qemu: Adapt command line generation to multiqueue net
  util: Learn virNetDevTapCreate multiqueue network
  qemu: Allow multiple vhost-net openings
  qemu: Rework qemuNetworkIfaceConnect
  qemu: Adapt qemuDomainAttachNetDevice to multiqueue net
  qemu: Change qemuOpenVhostNet return value
  qemu: Adapt qemuBuildInterfaceCommandLine to to multiqueue net
  qemu: Enable multiqueue network

 docs/formatdomain.html.in                          |  11 +-
 docs/schemas/domaincommon.rng                      |   5 +
 src/conf/domain_conf.c                             |  15 +
 src/conf/domain_conf.h                             |   1 +
 src/network/bridge_driver.c                        |   2 +-
 src/qemu/qemu_command.c                            | 453 +++++++++++++--------
 src/qemu/qemu_command.h                            |  13 +-
 src/qemu/qemu_domain.c                             |  27 +-
 src/qemu/qemu_hotplug.c                            |  99 +++--
 src/qemu/qemu_monitor.c                            |  78 ++--
 src/qemu/qemu_monitor.h                            |   8 +-
 src/uml/uml_conf.c                                 |   5 +-
 src/util/virnetdevtap.c                            | 115 +++---
 src/util/virnetdevtap.h                            |   2 +
 tests/qemuxml2argvdata/qemuxml2argv-event_idx.xml  |   2 +-
 .../qemuxml2argv-net-virtio-device.xml             |   2 +-
 .../qemuxml2argvdata/qemuxml2argv-vhost_queues.xml |  51 +++
 tests/qemuxml2argvdata/qemuxml2argv-virtio-lun.xml |   2 +-
 tests/qemuxml2xmltest.c                            |   1 +
 19 files changed, 586 insertions(+), 306 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-vhost_queues.xml

-- 
1.8.2.1




More information about the libvir-list mailing list