[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: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH v4 07/11] pc-bios/s390-ccw: Add code for virtio feature negotiation |
Date: |
Wed, 12 Jul 2017 08:56:46 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 |
On 11.07.2017 16:23, Cornelia Huck wrote:
> 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:
I think it's clearer to call it guest_features ... in case we ever want
to store the host features, too.
>> };
>> typedef struct VDev VDev;
>>
>
> Reviewed-by: Cornelia Huck <address@hidden>
Thanks!
Thomas
- [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
- [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