libqos: extend feature bits to 64-bit
commita9340358f4d5d0e8e0c7a3a23cb4e5b68334974c
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 23 Oct 2019 10:04:12 +0000 (23 11:04 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 25 Oct 2019 11:46:22 +0000 (25 07:46 -0400)
treee5c2f67f97b7becd4986ae0516fc6488636e3a8e
parent60ce3a40fc18423d6c3ba330e60ca03fc74f9d21
libqos: extend feature bits to 64-bit

In VIRTIO 1.0 feature bits changed from 32-bit to 64-bit.  (In fact, the
transports allow even more feature bits but nothing uses more than 64
bits today.)

Add 64-bit feature bit support to virtio-mmio and virtio-pci.  This will
be necessary for VIRTIO 1.0 support.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191023100425.12168-4-stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/libqos/virtio-mmio.c
tests/libqos/virtio-net.c
tests/libqos/virtio-pci.c
tests/libqos/virtio.c
tests/libqos/virtio.h
tests/virtio-blk-test.c