[libvirt] [PATCH v2 0/4] Support setting MTU in libvirt networks

Laine Stump laine at laine.org
Fri Feb 3 17:35:22 UTC 2017


Similar to V1, but changing the XML to match Michal's patches, and
adding a patch that plumbs network MTU back through to the qemu
host_mtu option.

Laine Stump (4):
  util: add MTU arg to virNetDevTapCreateInBridgePort()
  conf: support configuring mtu size in a virtual network
  network: honor mtu setting when creating network
  qemu: propagate bridge MTU into qemu "host_mtu" option

 docs/formatnetwork.html.in          | 19 ++++++++++++++++++-
 docs/news.xml                       |  5 +++--
 docs/schemas/network.rng            |  5 +++++
 src/bhyve/bhyve_command.c           |  1 +
 src/conf/network_conf.c             | 31 ++++++++++++++++++++++++++++++-
 src/conf/network_conf.h             |  1 +
 src/network/bridge_driver.c         |  1 +
 src/qemu/qemu_command.c             | 32 ++++++++++++++++++++++----------
 src/qemu/qemu_command.h             |  3 ++-
 src/qemu/qemu_hotplug.c             |  5 +++--
 src/qemu/qemu_interface.c           |  4 +++-
 src/qemu/qemu_interface.h           |  3 ++-
 src/uml/uml_conf.c                  |  1 +
 src/util/virnetdevtap.c             | 32 +++++++++++++++++++++++++++-----
 src/util/virnetdevtap.h             |  2 ++
 tests/bhyvexml2argvmock.c           |  2 ++
 tests/networkxml2xmlin/set-mtu.xml  | 12 ++++++++++++
 tests/networkxml2xmlout/set-mtu.xml | 12 ++++++++++++
 tests/networkxml2xmltest.c          |  1 +
 19 files changed, 148 insertions(+), 24 deletions(-)
 create mode 100644 tests/networkxml2xmlin/set-mtu.xml
 create mode 100644 tests/networkxml2xmlout/set-mtu.xml

-- 
2.9.3




More information about the libvir-list mailing list