]> xenbits.xensource.com Git - libvirt.git/commit
qemu: fix regression in update-device for interfaces
authorLaine Stump <laine@redhat.com>
Mon, 30 Sep 2024 15:30:38 +0000 (11:30 -0400)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 1 Oct 2024 08:25:12 +0000 (10:25 +0200)
commitbcd5ae4e73607a34ef2b739925a2ad37556ff205
treee90481ac45d128a611cd1d1f3142000212e2857d
parent120de488280e3f6b66f530c2f001157d8817266b
qemu: fix regression in update-device for interfaces

Commit a37bd2a15b8f2e7aa09519c86fe1ba1e59ce113f eliminated a failure
to update *any* change in an interface that was connected via a
network that consisted of a pool of VFs using macvtap passthrough
mode. Unfortunately it caused a regression that results in failure to
update changes to bandwidth/vlan/trustGuestRxFilters in any interface
connected via a network that uses a bridge to connect tap devices.

This fixes that problem by narrowing the usage of the fix in the
earlier patch to only be done in the case that the the interface is
connected via a macvtap+passthrough network.

Signed-off-by: Laine Stump <laine@redhat.com>
Fixes: a37bd2a15b8f2e7aa09519c86fe1ba1e59ce113f
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_hotplug.c