qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH RFC v6 10/20] s390x/virtio-ccw: add virtio set-r


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH RFC v6 10/20] s390x/virtio-ccw: add virtio set-revision call
Date: Tue, 20 Jan 2015 11:00:21 +0000
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, Dec 11, 2014 at 02:25:12PM +0100, Cornelia Huck wrote:
> From: Thomas Huth <address@hidden>
> 
> Handle the virtio-ccw revision according to what the guest sets.
> When revision 1 is selected, we have a virtio-1 standard device
> with byteswapping for the virtio rings.
> 
> When a channel gets disabled, we have to revert to the legacy behavior
> in case the next user of the device does not negotiate the revision 1
> anymore (e.g. the boot firmware uses revision 1, but the operating
> system only uses the legacy mode).
> 
> Note that revisions > 0 are still disabled.
> 
> Signed-off-by: Thomas Huth <address@hidden>
> Signed-off-by: Cornelia Huck <address@hidden>
> ---
>  hw/s390x/virtio-ccw.c |   52 
> +++++++++++++++++++++++++++++++++++++++++++++++++
>  hw/s390x/virtio-ccw.h |    8 ++++++++
>  2 files changed, 60 insertions(+)

Reviewed-by: Stefan Hajnoczi <address@hidden>

Attachment: pgpQCWWajeSfs.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]