Turns out that reworking the realization/plugging sequence for virtio-ccw to make it more similar to virtio-pci (as discussed in https://marc.info/?l=qemu-devel&m=142954827813046&w=2) was easier than expected. At least I have something that seems to look sane, produces working virtio-ccw devices and does what is expected on device_add/ device_del.
I have not yet verified how this interacts with Shannon's latest patches (https://marc.info/?l=qemu-devel&m=142961349029986&w=2), but I think it should work. Feedback welcome. I do hope being more like virtio-pci will benefit us in the future :) Cornelia Huck (2): virtio-ccw: change realization sequence virtio-ccw: implement ->device_plugged hw/s390x/virtio-ccw.c | 72 +++++++++++++++++++++++++++------------------------ 1 file changed, 38 insertions(+), 34 deletions(-) -- 2.1.4