qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 07/11] pc-bios/s390-ccw: Add code for virtio


From: Cornelia Huck
Subject: Re: [Qemu-devel] [PATCH v4 07/11] pc-bios/s390-ccw: Add code for virtio feature negotiation
Date: Tue, 11 Jul 2017 16:23:26 +0200

On Tue, 11 Jul 2017 15:56:33 +0200
Thomas Huth <address@hidden> wrote:

> The upcoming virtio-net driver needs to negotiate some features,
> so we need the possibility to do this in the core virtio code.
> 
> Signed-off-by: Thomas Huth <address@hidden>
> ---
>  pc-bios/s390-ccw/s390-ccw.h |  2 ++
>  pc-bios/s390-ccw/virtio.c   | 23 +++++++++++++++++------
>  pc-bios/s390-ccw/virtio.h   |  1 +
>  3 files changed, 20 insertions(+), 6 deletions(-)


> diff --git a/pc-bios/s390-ccw/virtio.h b/pc-bios/s390-ccw/virtio.h
> index d733780..a00a320 100644
> --- a/pc-bios/s390-ccw/virtio.h
> +++ b/pc-bios/s390-ccw/virtio.h
> @@ -251,6 +251,7 @@ struct VDev {
>      ScsiDevice selected_scsi_device;
>      uint64_t netboot_start_addr;
>      uint32_t max_transfer;
> +    uint32_t guest_features[2];

Just 'features' might have been a better name, but:

>  };
>  typedef struct VDev VDev;
>  

Reviewed-by: Cornelia Huck <address@hidden>



reply via email to

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