Author: grehan
Date: Thu Feb 16 17:08:43 2017
New Revision: 313812
URL: https://svnweb.freebsd.org/changeset/base/313812

Log:
  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

Modified:
  stable/10/usr.sbin/bhyve/virtio.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/bhyve/virtio.h
==============================================================================
--- stable/10/usr.sbin/bhyve/virtio.h   Thu Feb 16 17:07:20 2017        
(r313811)
+++ stable/10/usr.sbin/bhyve/virtio.h   Thu Feb 16 17:08:43 2017        
(r313812)
@@ -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.
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to