aboutsummaryrefslogtreecommitdiff
path: root/tests/libqos/virtio.h
diff options
context:
space:
mode:
authorEmanuele Giuseppe Esposito <e.emanuelegiuseppe@gmail.com>2018-07-30 22:21:42 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-03-07 17:28:42 +0100
commit583349d1ef8b73968428b8443e39d74c43d127f9 (patch)
tree4386cfa198810175781d2ff404f39b72241f8682 /tests/libqos/virtio.h
parent5cb8f0db0a5eff0206376f2f344cf73fb7d2cf5f (diff)
downloadqemu-583349d1ef8b73968428b8443e39d74c43d127f9.zip
qemu-583349d1ef8b73968428b8443e39d74c43d127f9.tar.gz
qemu-583349d1ef8b73968428b8443e39d74c43d127f9.tar.bz2
tests/libqos: virtio-net driver and interface nodes
Add qgraph nodes for virtio-net-pci and virtio-net-device. Both nodes produce virtio-net, but virtio-net-pci receives a pci-bus and overrides virtio-pci QOSGraphObject and its functions, while virtio-net-device receives a virtio and implements its own functions Signed-off-by: Emanuele Giuseppe Esposito <e.emanuelegiuseppe@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/libqos/virtio.h')
-rw-r--r--tests/libqos/virtio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libqos/virtio.h b/tests/libqos/virtio.h
index 7f0f9dd..3f97d79 100644
--- a/tests/libqos/virtio.h
+++ b/tests/libqos/virtio.h
@@ -21,6 +21,7 @@ typedef struct QVirtioDevice {
const QVirtioBus *bus;
/* Device type */
uint16_t device_type;
+ uint64_t features;
bool big_endian;
} QVirtioDevice;