mbox series

[0/2] failover: trivial cleanup and fix

Message ID 20210206123955.2196514-1-lvivier@redhat.com
Headers show
Series failover: trivial cleanup and fix | expand

Message

Laurent Vivier Feb. 6, 2021, 12:39 p.m. UTC
The first patch removes a duplicate assignment to allow_unplug_during_migrati=
on,
and simplify the code.

The second patch fixes a dangling object in failover_add_primary() that preve=
nts
to cleanup the internal structure after the object has been unplugged.

Laurent Vivier (2):
  pci: cleanup failover sanity check
  virtio-net: add missing object_unref()

 hw/net/virtio-net.c | 2 ++
 hw/pci/pci.c        | 6 ++----
 2 files changed, 4 insertions(+), 4 deletions(-)

--=20
2.29.2

Comments

Laurent Vivier Feb. 10, 2021, 1:40 p.m. UTC | #1
On 06/02/2021 13:39, Laurent Vivier wrote:
> The first patch removes a duplicate assignment to allow_unplug_during_migrati=
> on,
> and simplify the code.
> 
> The second patch fixes a dangling object in failover_add_primary() that preve=
> nts
> to cleanup the internal structure after the object has been unplugged.
> 
> Laurent Vivier (2):
>   pci: cleanup failover sanity check
>   virtio-net: add missing object_unref()

I can collect these two patches via the trivial branch if there will be no PR for virtio
or PCI soon.

Michael?

Thanks,
Laurent