diff options
author | grehan <grehan@FreeBSD.org> | 2017-02-16 17:07:20 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2017-02-16 17:07:20 +0000 |
commit | a64a4c200c602eda0d9f602a75c655a935e256bc (patch) | |
tree | bee1f3a3ad9d71aba45b644a45b12549dcf9ed5a | |
parent | 627ada7a549923c35379113b3474ea449c4554c1 (diff) | |
download | FreeBSD-src-a64a4c200c602eda0d9f602a75c655a935e256bc.zip FreeBSD-src-a64a4c200c602eda0d9f602a75c655a935e256bc.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.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. |