Re: [PATCH RFC] virtio: hint if callbacks surprisingly might sleep

2019-02-14 Thread Michael S. Tsirkin
On Wed, Feb 13, 2019 at 02:44:14PM +0100, Cornelia Huck wrote: > On Thu, 31 Jan 2019 10:27:53 -0500 > "Michael S. Tsirkin" wrote: > > > On Thu, Jan 31, 2019 at 01:53:14PM +0100, Cornelia Huck wrote: > > > A virtio transport is free to implement some of the callbacks in > > > virtio_config_ops in

Re: [PATCH RFC] virtio: hint if callbacks surprisingly might sleep

2019-02-14 Thread Cornelia Huck
On Thu, 31 Jan 2019 10:27:53 -0500 "Michael S. Tsirkin" wrote: > On Thu, Jan 31, 2019 at 01:53:14PM +0100, Cornelia Huck wrote: > > A virtio transport is free to implement some of the callbacks in > > virtio_config_ops in a matter that they cannot be called from > > atomic context (e.g. virtio-cc

Re: [PATCH RFC] virtio: hint if callbacks surprisingly might sleep

2019-01-31 Thread Cornelia Huck
On Thu, 31 Jan 2019 10:27:53 -0500 "Michael S. Tsirkin" wrote: > On Thu, Jan 31, 2019 at 01:53:14PM +0100, Cornelia Huck wrote: > > A virtio transport is free to implement some of the callbacks in > > virtio_config_ops in a matter that they cannot be called from > > atomic context (e.g. virtio-cc

Re: [PATCH RFC] virtio: hint if callbacks surprisingly might sleep

2019-01-31 Thread Michael S. Tsirkin
On Thu, Jan 31, 2019 at 01:53:14PM +0100, Cornelia Huck wrote: > A virtio transport is free to implement some of the callbacks in > virtio_config_ops in a matter that they cannot be called from > atomic context (e.g. virtio-ccw, which maps a lot of the callbacks > to channel I/O, which is an inhere