diff options
author | Emanuele Giuseppe Esposito <e.emanuelegiuseppe@gmail.com> | 2018-07-30 22:21:42 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-03-07 17:28:42 +0100 |
commit | 583349d1ef8b73968428b8443e39d74c43d127f9 (patch) | |
tree | 4386cfa198810175781d2ff404f39b72241f8682 /tests/libqos/virtio.h | |
parent | 5cb8f0db0a5eff0206376f2f344cf73fb7d2cf5f (diff) | |
download | qemu-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.h | 1 |
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; |