summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2015-04-24 19:35:18 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2015-06-17 16:03:47 +0200
commitbea2f0982b335c13448dbde8a409107764fa8b59 (patch)
treea68cc3a8844d7c3876f927e44f88c585fa8da8aa /tests
parent28452758c405e16d9890c44d6031d44233e8cb38 (diff)
downloadhqemu-bea2f0982b335c13448dbde8a409107764fa8b59.zip
hqemu-bea2f0982b335c13448dbde8a409107764fa8b59.tar.gz
libqos: Complete virtio device ID definition list
Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/libqos/virtio.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/libqos/virtio.h b/tests/libqos/virtio.h
index 2449fee..0101278 100644
--- a/tests/libqos/virtio.h
+++ b/tests/libqos/virtio.h
@@ -19,8 +19,14 @@
#define QVIRTIO_DRIVER 0x2
#define QVIRTIO_DRIVER_OK 0x4
-#define QVIRTIO_NET_DEVICE_ID 0x1
-#define QVIRTIO_BLK_DEVICE_ID 0x2
+#define QVIRTIO_NET_DEVICE_ID 0x1
+#define QVIRTIO_BLK_DEVICE_ID 0x2
+#define QVIRTIO_CONSOLE_DEVICE_ID 0x3
+#define QVIRTIO_RNG_DEVICE_ID 0x4
+#define QVIRTIO_BALLOON_DEVICE_ID 0x5
+#define QVIRTIO_RPMSG_DEVICE_ID 0x7
+#define QVIRTIO_SCSI_DEVICE_ID 0x8
+#define QVIRTIO_9P_DEVICE_ID 0x9
#define QVIRTIO_F_NOTIFY_ON_EMPTY 0x01000000
#define QVIRTIO_F_ANY_LAYOUT 0x08000000
OpenPOWER on IntegriCloud