On Fri,  4 Sep 2015 10:54:29 +0200
Cornelia Huck <cornelia.h...@de.ibm.com> wrote:

> Let's enable revision 1 for virtio-ccw devices. We can always offer
> VERSION_1 as drivers in legacy mode won't be able to see it anyway.
> 
> We have to introduce a way to set a lower maximum revision for a device
> to accommodate the following cases:
> - compat machines (to enforce legacy only)
> - virtio-blk with scsi support (version 1 + scsi is fenced by common
>   code, with a user-configured max revision of 0 we can allow scsi
>   via not offering VERSION_1)
> 
> Signed-off-by: Cornelia Huck <cornelia.h...@de.ibm.com>
> ---
>  hw/s390x/s390-virtio-ccw.c |  4 ++++
>  hw/s390x/virtio-ccw.c      | 30 ++++++++++++++++++++++++++++--
>  hw/s390x/virtio-ccw.h      |  6 ++++--
>  3 files changed, 36 insertions(+), 4 deletions(-)

Scratch this; stale patch with broken compat handling.

I'll send a v2 of the whole series.


Reply via email to