Re: [Qemu-devel] [PATCH 5/5] virtio-ccw: implement ->device_plugged

2015-05-04 Thread Shannon Zhao
On 2015/5/4 23:28, Cornelia Huck wrote: > Let's move operations that are only valid after the backend has been > realized to a ->device_plugged callback, just as virtio-pci does. > Also reorder setting up the host feature bits to the sequence used > by virtio-pci. > > While we're at it, also add

[Qemu-devel] [PATCH 5/5] virtio-ccw: implement ->device_plugged

2015-05-04 Thread Cornelia Huck
Let's move operations that are only valid after the backend has been realized to a ->device_plugged callback, just as virtio-pci does. Also reorder setting up the host feature bits to the sequence used by virtio-pci. While we're at it, also add a ->device_unplugged callback to stop ioeventfd, just