diff options
author | grehan <grehan@FreeBSD.org> | 2017-02-16 17:08:43 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2017-02-16 17:08:43 +0000 |
commit | eab442e4e8f405cb9a6f47680701fee725c84b07 (patch) | |
tree | 01b88902f33ee27f6fcf63ad0a6bd1afd565a235 /usr.sbin | |
parent | 383f0463dc8fab606ae5715a5482c1bfbb51cb52 (diff) | |
download | FreeBSD-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
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bhyve/virtio.h | 2 |
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. |