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 */
 };
 
 /*
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to