diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2020-03-26 16:12:40 +1100 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2020-06-22 12:52:45 -0500 |
commit | 9c2e242077f7ea6a558ed5828a83f26098077990 (patch) | |
tree | 8db42e6f262d8eddf3df74cd2ba1787b53680b01 /hw/usb-net.c | |
parent | fb6a24fb1ddee56433bd8452375c2790cf087883 (diff) | |
download | qemu-9c2e242077f7ea6a558ed5828a83f26098077990.zip qemu-9c2e242077f7ea6a558ed5828a83f26098077990.tar.gz qemu-9c2e242077f7ea6a558ed5828a83f26098077990.tar.bz2 |
spapr: Fix failure path for attempting to hot unplug PCI bridges
For various technical reasons we can't currently allow unplug a PCI to PCI
bridge on the pseries machine. spapr_pci_unplug_request() correctly
generates an error message if that's attempted.
But.. if the given errp is not error_abort or error_fatal, it doesn't
actually stop trying to unplug the bridge anyway.
Fixes: 14e714900f6b "spapr: Allow hot plug/unplug of PCI bridges and devices under PCI bridges"
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
(cherry picked from commit 7aab5899764887f6b0512cb2e5c11bdc2a5d3644)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'hw/usb-net.c')
0 files changed, 0 insertions, 0 deletions