]> xenbits.xensource.com Git - libvirt.git/commit
qemuDomainChangeNet: Forbid changing MTU
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 8 Jun 2017 11:45:31 +0000 (13:45 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 8 Jun 2017 14:53:07 +0000 (16:53 +0200)
commit5f44d7e357f61f7be636a0e2e6d35453cbc3b589
tree9302864c48ba1653e40390410f3f8028baa773a7
parentf00e6f8bc9081f158b7d6a1dcfa82218b1dbfb4d
qemuDomainChangeNet: Forbid changing MTU

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

Currently, any attempt to change MTU on an interface that is
plugged to a running domain is silently ignored. We should either
do what's asked or error out. Well, we can update the host side
of the interface, but we cannot change 'host_mtu' attribute for
the virtio-net device. Therefore we have to error out.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Laine Stump <laine@laine.org>
src/qemu/qemu_hotplug.c