[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>
- [Qemu-devel] [PATCH v4 00/11] Implement network booting in the s390-ccw BIOS, Thomas Huth, 2017/07/11
- [Qemu-devel] [PATCH v4 01/11] pc-bios/s390-ccw: Move libc functions to separate header, Thomas Huth, 2017/07/11
- [Qemu-devel] [PATCH v4 02/11] pc-bios/s390-ccw: Move ebc2asc to sclp.c, Thomas Huth, 2017/07/11
- [Qemu-devel] [PATCH v4 05/11] pc-bios/s390-ccw: Move byteswap functions to a separate header, Thomas Huth, 2017/07/11
- [Qemu-devel] [PATCH v4 03/11] pc-bios/s390-ccw: Move virtio-block related functions into a separate file, Thomas Huth, 2017/07/11
- [Qemu-devel] [PATCH v4 04/11] pc-bios/s390-ccw: Add a write() function for stdio, Thomas Huth, 2017/07/11
- [Qemu-devel] [PATCH v4 06/11] pc-bios/s390-ccw: Remove unused structs from virtio.h, Thomas Huth, 2017/07/11
- [Qemu-devel] [PATCH v4 07/11] pc-bios/s390-ccw: Add code for virtio feature negotiation, Thomas Huth, 2017/07/11
- Re: [Qemu-devel] [PATCH v4 07/11] pc-bios/s390-ccw: Add code for virtio feature negotiation,
Cornelia Huck <=
- [Qemu-devel] [PATCH v4 08/11] roms/SLOF: Update submodule to latest status, Thomas Huth, 2017/07/11
- [Qemu-devel] [PATCH v4 09/11] pc-bios/s390-ccw: Add core files for the network bootloading program, Thomas Huth, 2017/07/11
- [Qemu-devel] [PATCH v4 10/11] pc-bios/s390-ccw: Add virtio-net driver code, Thomas Huth, 2017/07/11
- [Qemu-devel] [PATCH v4 11/11] pc-bios/s390-ccw: Link libnet into the netboot image and do the TFTP load, Thomas Huth, 2017/07/11
- Re: [Qemu-devel] [PATCH v4 00/11] Implement network booting in the s390-ccw BIOS, no-reply, 2017/07/11
- Re: [Qemu-devel] [PATCH v4 00/11] Implement network booting in the s390-ccw BIOS, Christian Borntraeger, 2017/07/12