summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2017-02-16 17:08:43 +0000
committergrehan <grehan@FreeBSD.org>2017-02-16 17:08:43 +0000
commiteab442e4e8f405cb9a6f47680701fee725c84b07 (patch)
tree01b88902f33ee27f6fcf63ad0a6bd1afd565a235
parent383f0463dc8fab606ae5715a5482c1bfbb51cb52 (diff)
downloadFreeBSD-src-eab442e4e8f405cb9a6f47680701fee725c84b07.zip
FreeBSD-src-eab442e4e8f405cb9a6f47680701fee725c84b07.tar.gz
MFC r311702
Use correct PCI device id for virtio-rng. This prevented the device from attaching with a Windows guest (most other guests use the device type for matching) PR: 212711
-rw-r--r--usr.sbin/bhyve/virtio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/virtio.h b/usr.sbin/bhyve/virtio.h
index 0e96a1d..28eecc7 100644
--- a/usr.sbin/bhyve/virtio.h
+++ b/usr.sbin/bhyve/virtio.h
@@ -209,7 +209,7 @@ struct vring_used {
#define VIRTIO_VENDOR 0x1AF4
#define VIRTIO_DEV_NET 0x1000
#define VIRTIO_DEV_BLOCK 0x1001
-#define VIRTIO_DEV_RANDOM 0x1002
+#define VIRTIO_DEV_RANDOM 0x1005
/*
* PCI config space constants.
OpenPOWER on IntegriCloud