Re: [Qemu-devel] [PATCH v2 2/5] qdev: add the HotUnpluggable handler

2015-10-15 Thread Greg Kurz
On Thu, 15 Oct 2015 17:14:36 +0200 Cornelia Huck wrote: > On Mon, 12 Oct 2015 11:00:13 +0200 > Greg Kurz wrote: > > > This handler allows to ask a device instance if it can be hot-unplugged. It > > is to be defined in device classes where

Re: [Qemu-devel] [PATCH v2 2/5] qdev: add the HotUnpluggable handler

2015-10-15 Thread Cornelia Huck
On Mon, 12 Oct 2015 11:00:13 +0200 Greg Kurz wrote: > This handler allows to ask a device instance if it can be hot-unplugged. It > is to be defined in device classes where hot-unpluggability depends on the > device state (for example, virtio-9p devices cannot be

[Qemu-devel] [PATCH v2 2/5] qdev: add the HotUnpluggable handler

2015-10-12 Thread Greg Kurz
This handler allows to ask a device instance if it can be hot-unplugged. It is to be defined in device classes where hot-unpluggability depends on the device state (for example, virtio-9p devices cannot be unplugged if the 9p share is mounted in the guest). Signed-off-by: Greg Kurz