spapr_pci.c: add 'unplug already in progress' message for PCI unplug
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 26 Feb 2021 16:33:00 +0000 (13:33 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 9 Mar 2021 22:07:09 +0000 (09:07 +1100)
commite35dfbd22780aafbcd4b6da5130a00fc085fd5de
tree51511db5e9b9efe46ed4cd8a9ace3b046674ce5b
parent7420033ec460e7b9906bf05fbe1a0d3830536657
spapr_pci.c: add 'unplug already in progress' message for PCI unplug

Hotunplug for all other devices are warning the user when the hotunplug
is already in progress. Do the same for PCI devices in
spapr_pci_unplug_request().

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20210226163301.419727-5-danielhb413@gmail.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_pci.c