Re: [PATCH v3 1/2] virtio_console: free unused buffers with port delete

2019-08-12 Thread Michael S. Tsirkin
On Mon, Aug 12, 2019 at 01:36:48AM -0400, Pankaj Gupta wrote: > > > > > On Fri, Aug 09, 2019 at 12:18:46PM +0530, Pankaj Gupta wrote: > > > The commit a7a69ec0d8e4 ("virtio_console: free buffers after reset") > > > deferred detaching of unused buffer to virtio device unplug time. > > > This cause

Re: [PATCH v3 1/2] virtio_console: free unused buffers with port delete

2019-08-11 Thread Pankaj Gupta
> > On Fri, Aug 09, 2019 at 12:18:46PM +0530, Pankaj Gupta wrote: > > The commit a7a69ec0d8e4 ("virtio_console: free buffers after reset") > > deferred detaching of unused buffer to virtio device unplug time. > > This causes unplug/replug of single port in virtio device with an > > error "Error

Re: [PATCH v3 1/2] virtio_console: free unused buffers with port delete

2019-08-10 Thread Michael S. Tsirkin
On Fri, Aug 09, 2019 at 12:18:46PM +0530, Pankaj Gupta wrote: > The commit a7a69ec0d8e4 ("virtio_console: free buffers after reset") > deferred detaching of unused buffer to virtio device unplug time. > This causes unplug/replug of single port in virtio device with an > error "Error allocating inbu

[PATCH v3 1/2] virtio_console: free unused buffers with port delete

2019-08-08 Thread Pankaj Gupta
The commit a7a69ec0d8e4 ("virtio_console: free buffers after reset") deferred detaching of unused buffer to virtio device unplug time. This causes unplug/replug of single port in virtio device with an error "Error allocating inbufs\n". As we don't free the unused buffers attached with the port. Re-