[PATCH v3 0/4] failover: trivial cleanup and fix

Laurent Vivier posted 4 patches 3 years, 2 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210212135250.2738750-1-lvivier@redhat.com
Maintainers: Jason Wang <jasowang@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Michael S. Tsirkin" <mst@redhat.com>
hw/net/virtio-net.c | 18 +++++++++---------
hw/pci/pci.c        |  6 ++----
hw/pci/pcie.c       | 19 +++++++++----------
3 files changed, 20 insertions(+), 23 deletions(-)
[PATCH v3 0/4] 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 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