Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jan 2017 20:58:58 +0000 (UTC)
From:      Peter Grehan <grehan@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r311702 - head/usr.sbin/bhyve
Message-ID:  <201701082058.v08KwwtR077474@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701082058.v08KwwtR077474>