Re: [Qemu-devel] [PATCH 1/3] virtio-9p-coth: add release function and fix init error path

2015-10-06 Thread Greg Kurz
On Mon, 05 Oct 2015 11:07:16 +0200 Greg Kurz wrote: > This is preliminary work to support hotplug/unplug of virtio-9p-device. > > Signed-off-by: Greg Kurz > --- Hmm... still not good. Since this is shared by all virtio-9p devices, we need at least a refcount. > hw/9pfs/virtio-9p-coth.c | 1

[Qemu-devel] [PATCH 1/3] virtio-9p-coth: add release function and fix init error path

2015-10-05 Thread Greg Kurz
This is preliminary work to support hotplug/unplug of virtio-9p-device. Signed-off-by: Greg Kurz --- hw/9pfs/virtio-9p-coth.c | 13 + hw/9pfs/virtio-9p-coth.h |1 + 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/hw/9pfs/virtio-9p-coth.c b/hw/9pfs/virtio-9p-coth