mbox series

[v2,0/3] failover: trivial cleanup and fix

Message ID 20210210174518.2493928-1-lvivier@redhat.com (mailing list archive)
Headers show
Series failover: trivial cleanup and fix | expand

Message

Laurent Vivier Feb. 10, 2021, 5:45 p.m. UTC
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(-)