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

Michal Privoznik mprivozn at redhat.com
Mon Apr 22 14:25:45 UTC 2013


Kernel and subsequently QEMU learned multiple transmit queues a while ago. The
feature has a nice advantage, it alloes 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 [1] or [2].

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

2: 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                            | 527 +++++++++++++--------
 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                            | 105 ++--
 src/util/virnetdevtap.h                            |   2 +
 tests/qemuxml2argvdata/qemuxml2argv-event_idx.xml  |   2 +-
 .../qemuxml2argv-net-virtio-device.xml             |   2 +-
 .../qemuxml2argvdata/qemuxml2argv-vhost_queues.xml |  50 ++
 tests/qemuxml2argvdata/qemuxml2argv-virtio-lun.xml |   2 +-
 tests/qemuxml2xmltest.c                            |   1 +
 19 files changed, 616 insertions(+), 339 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-vhost_queues.xml

-- 
1.8.1.5




More information about the libvir-list mailing list