aboutsummaryrefslogtreecommitdiff
path: root/include/virtio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/virtio.h')
-rw-r--r--include/virtio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/virtio.h b/include/virtio.h
index 654fdf154b6..561dcc34baf 100644
--- a/include/virtio.h
+++ b/include/virtio.h
@@ -22,10 +22,12 @@
#define VIRTIO_ID_NET 1 /* virtio net */
#define VIRTIO_ID_BLOCK 2 /* virtio block */
-#define VIRTIO_ID_MAX_NUM 3
+#define VIRTIO_ID_RNG 4 /* virtio rng */
+#define VIRTIO_ID_MAX_NUM 5
#define VIRTIO_NET_DRV_NAME "virtio-net"
#define VIRTIO_BLK_DRV_NAME "virtio-blk"
+#define VIRTIO_RNG_DRV_NAME "virtio-rng"
/* Status byte for guest to report progress, and synchronize features */