]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Refresh rx-filters more often
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 30 Sep 2022 14:28:24 +0000 (16:28 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 20 Oct 2022 06:48:31 +0000 (08:48 +0200)
commit060d4c83ef436cf56abfad51a4d64c39448e199d
tree3a1a5334fca24bf3dceecfad51fcf646e5c033dc
parent7356dce2b35961eebecc35a9df0d54fd9e909168
qemu: Refresh rx-filters more often

There are couple of scenarios where we need to reflect MAC change
done in the guest:

  1) domain restore from a file (here, we don't store updated MAC
     in the save file and thus on restore create the macvtap with
     the original MAC),
  2) reconnecting to a running domain (here, the guest might have
     changed the MAC while we were not running),
  3) migration (here, guest might change the MAC address but we
     fail to respond to it,

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c
src/qemu/qemu_process.c