summaryrefslogtreecommitdiffstats
path: root/hw/net
diff options
context:
space:
mode:
authorLaurent Vivier2021-02-12 14:52:47 +0100
committerMichael S. Tsirkin2021-02-23 16:06:55 +0100
commitb01a49014a867dc75fdac610c436810ca62b335c (patch)
treed2b1f5abff878591ac291c3dd067d840d93ba78f /hw/net
parentMerge remote-tracking branch 'remotes/edgar/tags/edgar/cris-next-2021-02-22.f... (diff)
downloadqemu-b01a49014a867dc75fdac610c436810ca62b335c.tar.gz
qemu-b01a49014a867dc75fdac610c436810ca62b335c.tar.xz
qemu-b01a49014a867dc75fdac610c436810ca62b335c.zip
pci: cleanup failover sanity check
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: jfreimann@redhat.com Signed-off-by: Laurent Vivier <lvivier@redhat.com> Message-Id: <20210212135250.2738750-2-lvivier@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Jens Freimann <jfreimann@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net')
0 files changed, 0 insertions, 0 deletions