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 a third patch The third patch reports a warning if the failover device is not found Laurent Vivier (3): pci: cleanup failover sanity check virtio-net: add missing object_unref() failover: really display a warning when the primary device is not found hw/net/virtio-net.c | 18 +++++++++--------- hw/pci/pci.c | 6 ++---- 2 files changed, 11 insertions(+), 13 deletions(-) -- 2.29.2