diff options
| author | Jason Baron | 2018-03-08 04:25:40 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2018-03-13 22:09:49 +0100 |
| commit | 127833eeea798b0863806341893cf575d2d29cf2 (patch) | |
| tree | b753a6c3666ea2226a203c6729ecd81d2956f2cf /include | |
| parent | scripts/update-linux-headers: add ethtool.h and update to 4.16.0-rc4 (diff) | |
| download | qemu-127833eeea798b0863806341893cf575d2d29cf2.tar.gz qemu-127833eeea798b0863806341893cf575d2d29cf2.tar.xz qemu-127833eeea798b0863806341893cf575d2d29cf2.zip | |
virtio-net: use 64-bit values for feature flags
In prepartion for using some of the high order feature bits, make sure that
virtio-net uses 64-bit values everywhere.
Signed-off-by: Jason Baron <jbaron@akamai.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: virtio-dev@lists.oasis-open.org
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/virtio/virtio-net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h index b81b6a4624..e7634c9044 100644 --- a/include/hw/virtio/virtio-net.h +++ b/include/hw/virtio/virtio-net.h @@ -67,7 +67,7 @@ typedef struct VirtIONet { uint32_t has_vnet_hdr; size_t host_hdr_len; size_t guest_hdr_len; - uint32_t host_features; + uint64_t host_features; uint8_t has_ufo; uint32_t mergeable_rx_bufs; uint8_t promisc; |
