libvirt: add qemu version check when configuring mtu for network
This adds a QEMU check when configuring MTU for ethernet and bridge
interface types. When creating and configuring tap devices, libvirt is
setting MTU but also configures the virtio-net devices to let it
discovers the MTU used. This QEMU 'host_mtu' option is supported by
QEMU version 2.9 and more.
Reviewed: https:/ /review. openstack. org/579611 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=e2d7189f4ff 7e4a2697256cf3f 695327e1d71db2
Committed: https:/
Submitter: Zuul
Branch: master
commit e2d7189f4ff7e4a 2697256cf3f6953 27e1d71db2
Author: Sahid Orentino Ferdjaoui <email address hidden>
Date: Mon Jul 2 17:42:05 2018 +0200
libvirt: add qemu version check when configuring mtu for network
This adds a QEMU check when configuring MTU for ethernet and bridge
interface types. When creating and configuring tap devices, libvirt is
setting MTU but also configures the virtio-net devices to let it
discovers the MTU used. This QEMU 'host_mtu' option is supported by
QEMU version 2.9 and more.
Closes-Bug: 1779626 29fa8479d1e8a0d 11ec15aaa43
Change-Id: I55cf259c715ba1
Signed-off-by: Sahid Orentino Ferdjaoui <email address hidden>