Skip to content

failover: trivial cleanup and fix

Laurent Vivier qemu-devel qemu-trivial 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 4 repliesIn review
  2. v23 patches 3 repliesSuperseded
  3. v12 patches 6 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pci: cleanup failover sanity checkhw/pci/pci.c+2 -41 reply
2/4virtio-net: add missing object_unref()hw/net/virtio-net.c+2 -01 reply
3/4failover: really display a warning when the primary device is not foundhw/net/virtio-net.c+9 -111 reply
4/4pcie: don't set link state active if the slot is emptyhw/pci/pcie.c+9 -101 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchJens Freimann
1/4R-b
2/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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(-)
Signature · 1 line
2.29.2