Re: [Qemu-devel] [PATCH 2/3] virtio-9p: add unrealize handler

2015-10-09 Thread Michael S. Tsirkin
On Fri, Oct 09, 2015 at 09:23:49AM +0200, Greg Kurz wrote: > On Wed, 07 Oct 2015 14:20:28 +0530 > "Aneesh Kumar K.V" wrote: > > > Stefan Hajnoczi writes: > > > > > On Mon, Oct 05, 2015 at 11:07:23AM +0200, Greg Kurz wrote: > > >> If the user tries to hot unplug a virtio-9p device, it seems to s

Re: [Qemu-devel] [PATCH 2/3] virtio-9p: add unrealize handler

2015-10-09 Thread Greg Kurz
On Fri, 9 Oct 2015 10:36:56 +0300 "Michael S. Tsirkin" wrote: > On Fri, Oct 09, 2015 at 09:23:49AM +0200, Greg Kurz wrote: > > On Wed, 07 Oct 2015 14:20:28 +0530 > > "Aneesh Kumar K.V" wrote: > > > > > Stefan Hajnoczi writes: > > > > > > > On Mon, Oct 05, 2015 at 11:07:23AM +0200, Greg Kurz w

Re: [Qemu-devel] [PATCH 2/3] virtio-9p: add unrealize handler

2015-10-09 Thread Greg Kurz
On Wed, 07 Oct 2015 14:20:28 +0530 "Aneesh Kumar K.V" wrote: > Stefan Hajnoczi writes: > > > On Mon, Oct 05, 2015 at 11:07:23AM +0200, Greg Kurz wrote: > >> If the user tries to hot unplug a virtio-9p device, it seems to succeed but > >> in fact: > >> - virtio-9p coroutines thread pool and asyn

Re: [Qemu-devel] [PATCH 2/3] virtio-9p: add unrealize handler

2015-10-07 Thread Aneesh Kumar K.V
Stefan Hajnoczi writes: > On Mon, Oct 05, 2015 at 11:07:23AM +0200, Greg Kurz wrote: >> If the user tries to hot unplug a virtio-9p device, it seems to succeed but >> in fact: >> - virtio-9p coroutines thread pool and async queue are leaked >> - QEMU crashes in virtio_vmstate_change() if the user

Re: [Qemu-devel] [PATCH 2/3] virtio-9p: add unrealize handler

2015-10-06 Thread Greg Kurz
On Tue, 6 Oct 2015 09:09:14 +0100 Stefan Hajnoczi wrote: > On Mon, Oct 05, 2015 at 11:07:23AM +0200, Greg Kurz wrote: > > If the user tries to hot unplug a virtio-9p device, it seems to succeed but > > in fact: > > - virtio-9p coroutines thread pool and async queue are leaked > > - QEMU crashes i

Re: [Qemu-devel] [PATCH 2/3] virtio-9p: add unrealize handler

2015-10-06 Thread Stefan Hajnoczi
On Mon, Oct 05, 2015 at 11:07:23AM +0200, Greg Kurz wrote: > If the user tries to hot unplug a virtio-9p device, it seems to succeed but > in fact: > - virtio-9p coroutines thread pool and async queue are leaked > - QEMU crashes in virtio_vmstate_change() if the user tries to live migrate > > This

[Qemu-devel] [PATCH 2/3] virtio-9p: add unrealize handler

2015-10-05 Thread Greg Kurz
If the user tries to hot unplug a virtio-9p device, it seems to succeed but in fact: - virtio-9p coroutines thread pool and async queue are leaked - QEMU crashes in virtio_vmstate_change() if the user tries to live migrate This patch brings hot unplug support to virtio-9p-device. It fixes both abo