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

Laurent Vivier posted 3 patches 3 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210210174518.2493928-1-lvivier@redhat.com
Test checkpatch passed
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Jason Wang <jasowang@redhat.com>
There is a newer version of this series
hw/net/virtio-net.c | 18 +++++++++---------
hw/pci/pci.c        |  6 ++----
2 files changed, 11 insertions(+), 13 deletions(-)
[PATCH v2 0/3] failover: trivial cleanup and fix
Posted by Laurent Vivier 3 years, 2 months ago
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