Author: grehan
Date: Sun Jan  8 20:58:58 2017
New Revision: 311702
URL: https://svnweb.freebsd.org/changeset/base/311702

Log:
  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
  Submitted by: jbeich
  MFC after:    3 days

Modified:
  head/usr.sbin/bhyve/virtio.h

Modified: head/usr.sbin/bhyve/virtio.h
==============================================================================
--- head/usr.sbin/bhyve/virtio.h        Sun Jan  8 20:41:32 2017        
(r311701)
+++ head/usr.sbin/bhyve/virtio.h        Sun Jan  8 20:58:58 2017        
(r311702)
@@ -209,8 +209,8 @@ 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_CONSOLE      0x1003
+#define        VIRTIO_DEV_RANDOM       0x1005
 
 /*
  * PCI config space constants.
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to