On Sat, Feb 06, 2021 at 01:39:54PM +0100, Laurent Vivier wrote:
Commit a1190ab628 has added a "allow_unplug_during_migration = true" at
the end of the main "if" block, so it is not needed to set it anymore
in the previous checking.

Remove it, to have only sub-ifs that check for needed conditions and exit
if one fails.

Fixes: 4f5b6a05a4e7 ("pci: add option for net failover")
Fixes: a1190ab628c0 ("migration: allow unplug during migration for failover 
devices")
Cc: jfreim...@redhat.com
Signed-off-by: Laurent Vivier <lviv...@virtlab415.virt.lab.eng.bos.redhat.com>
---
hw/pci/pci.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)


Reviewed-by: Jens Freimann <jfreim...@redhat.com>

Thank you Laurent!

regards,
Jens

Reply via email to