Re: [Qemu-devel] [PATCH 5/5] spapr: Use unplug_request for PCI hot unplug

2017-07-02 Thread David Gibson
On Wed, Jun 21, 2017 at 11:50:08AM +0200, Greg Kurz wrote: > On Tue, 20 Jun 2017 09:53:32 +0800 > David Gibson wrote: > > > AIUI, ->unplug_request in the HotplugHandler is used for "soft" > > unplug, where acknowledgement from the guest is required before > > completing the unplug, whereas ->unpl

Re: [Qemu-devel] [PATCH 5/5] spapr: Use unplug_request for PCI hot unplug

2017-06-21 Thread Greg Kurz
On Tue, 20 Jun 2017 09:53:32 +0800 David Gibson wrote: > AIUI, ->unplug_request in the HotplugHandler is used for "soft" > unplug, where acknowledgement from the guest is required before > completing the unplug, whereas ->unplug is used for "hard" unplug > where qemu unilaterally removes the devi

[Qemu-devel] [PATCH 5/5] spapr: Use unplug_request for PCI hot unplug

2017-06-19 Thread David Gibson
AIUI, ->unplug_request in the HotplugHandler is used for "soft" unplug, where acknowledgement from the guest is required before completing the unplug, whereas ->unplug is used for "hard" unplug where qemu unilaterally removes the device, and the guest just has to cope with its sudden absence. For