Hi, here's a set of patches for virtio-core and virtio-ccw, fixing a common code issue and finally enabling virtio-1 for ccw devices.
The first issue was noted by Jason: We need to care about changed ring sizes. We also want to support different ring sizes in ccw for virtio-1 devices (existing code did not propagate changes to core). The final patch enabling virtio-1 support also introduces a new property that allows to specify a maximum revision. I don't see a need to fence off legacy; the maximum revision approach instead allows us to easily introduce new revisions and still cap at a revision for compat machines. Cornelia Huck (4): virtio: ring sizes vs. reset virtio-ccw: support ring size changes virtio-ccw: feature bits > 31 handling virtio-ccw: enable virtio-1 hw/s390x/s390-virtio-ccw.c | 4 +++ hw/s390x/virtio-ccw.c | 64 +++++++++++++++++++++++++++++++++------------- hw/s390x/virtio-ccw.h | 6 +++-- hw/virtio/virtio.c | 63 +++++++++++++++++++++++++++++++++++++++++++++ include/hw/virtio/virtio.h | 1 + 5 files changed, 118 insertions(+), 20 deletions(-) -- 2.3.8