summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bhyve
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2014-07-05 02:38:53 +0000
committergrehan <grehan@FreeBSD.org>2014-07-05 02:38:53 +0000
commit08d74d148228f96d6a3209f489daa64497c008e8 (patch)
treede98a3ecff765815f0391a4c1c5c30ab12b8b646 /usr.sbin/bhyve
parentc3a321909bfde2143544687ef657505df2073dbc (diff)
downloadFreeBSD-src-08d74d148228f96d6a3209f489daa64497c008e8.zip
FreeBSD-src-08d74d148228f96d6a3209f489daa64497c008e8.tar.gz
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.
Diffstat (limited to 'usr.sbin/bhyve')
-rw-r--r--usr.sbin/bhyve/virtio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/virtio.h b/usr.sbin/bhyve/virtio.h
index 01b5f7b..1f29dfa 100644
--- a/usr.sbin/bhyve/virtio.h
+++ b/usr.sbin/bhyve/virtio.h
@@ -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 */
};
/*
OpenPOWER on IntegriCloud