Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2014 02:38:54 +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: r268276 - head/usr.sbin/bhyve
Message-ID:  <201407050238.s652cs6t042646@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: grehan
Date: Sat Jul  5 02:38:53 2014
New Revision: 268276
URL: http://svnweb.freebsd.org/changeset/base/268276

Log:
  Extend capabilities to 64-bits in preparation for some API changes.
  The v1.0 virtio spec supports an extended size for guest/host
  caps, but in practice 64-bits should last for a long time.

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

Modified: head/usr.sbin/bhyve/virtio.h
==============================================================================
--- head/usr.sbin/bhyve/virtio.h	Sat Jul  5 01:24:06 2014	(r268275)
+++ head/usr.sbin/bhyve/virtio.h	Sat Jul  5 02:38:53 2014	(r268276)
@@ -352,7 +352,7 @@ struct virtio_consts {
 					/* called to read config regs */
 	int	(*vc_cfgwrite)(void *, int, int, uint32_t);
 					/* called to write config regs */
-	uint32_t vc_hv_caps;		/* hypervisor-provided capabilities */
+	uint64_t vc_hv_caps;		/* hypervisor-provided capabilities */
 };
 
 /*



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