The first patch removes a duplicate assignment to allow_unplug_during_migration, and simplify the code.
The second patch fixes a dangling object in failover_add_primary() that prevents to cleanup the internal structure after the object has been unplugged. v2: add PATCH 3 Report a warning if the failover device is not found v4: add PATCH 4 Fix a problem in pcie slot link status that makes the kernel to unplug the card while the virtio-net driver hotplugs it. Laurent Vivier (4): pci: cleanup failover sanity check virtio-net: add missing object_unref() failover: really display a warning when the primary device is not found pcie: don't set link state active if the slot is empty hw/net/virtio-net.c | 18 +++++++++--------- hw/pci/pci.c | 6 ++---- hw/pci/pcie.c | 19 +++++++++---------- 3 files changed, 20 insertions(+), 23 deletions(-) -- 2.29.2