Re: [PATCH 5/6] pcie: fast unplug when slot power is off

2021-10-12 Thread Gerd Hoffmann
On Tue, Oct 12, 2021 at 01:56:31AM -0400, Michael S. Tsirkin wrote: > On Mon, Oct 11, 2021 at 02:05:03PM +0200, Gerd Hoffmann wrote: > > In case the slot is powered off (and the power indicator turned off too) > > we can unplug right away, without round-trip to the guest. > > > > Also clear

Re: [PATCH 5/6] pcie: fast unplug when slot power is off

2021-10-11 Thread Michael S. Tsirkin
On Mon, Oct 11, 2021 at 02:05:03PM +0200, Gerd Hoffmann wrote: > In case the slot is powered off (and the power indicator turned off too) > we can unplug right away, without round-trip to the guest. > > Also clear pending attention button press, there is nothing to care > about any more. > >

[PATCH 5/6] pcie: fast unplug when slot power is off

2021-10-11 Thread Gerd Hoffmann
In case the slot is powered off (and the power indicator turned off too) we can unplug right away, without round-trip to the guest. Also clear pending attention button press, there is nothing to care about any more. Signed-off-by: Gerd Hoffmann --- hw/pci/pcie.c | 10 ++ 1 file