[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] pci: cleanup failover sanity check

From: Jens Freimann
Subject: Re: [PATCH 1/2] pci: cleanup failover sanity check
Date: Mon, 8 Feb 2021 09:42:56 +0100

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 
Cc: jfreimann@redhat.com
Signed-off-by: Laurent Vivier <lvivier@virtlab415.virt.lab.eng.bos.redhat.com>
hw/pci/pci.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)

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

Thank you Laurent!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]