summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bhyve/virtio.h
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2014-09-09 04:11:54 +0000
committergrehan <grehan@FreeBSD.org>2014-09-09 04:11:54 +0000
commit9571b40fbe9321abd4e31906fb71a0676ea1f83a (patch)
tree906db88903fe0716a545e08b9d9c87314f1d2233 /usr.sbin/bhyve/virtio.h
parente5ddfb30abb527a21677ab200879826e3224fad1 (diff)
downloadFreeBSD-src-9571b40fbe9321abd4e31906fb71a0676ea1f83a.zip
FreeBSD-src-9571b40fbe9321abd4e31906fb71a0676ea1f83a.tar.gz
Add a callback to be notified about negotiated features.
Submitted by: luigi Obtained from: Vincenzo Maffione, Universita` di Pisa MFC after: 3 days
Diffstat (limited to 'usr.sbin/bhyve/virtio.h')
-rw-r--r--usr.sbin/bhyve/virtio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/bhyve/virtio.h b/usr.sbin/bhyve/virtio.h
index 1f29dfa..6f655f3 100644
--- a/usr.sbin/bhyve/virtio.h
+++ b/usr.sbin/bhyve/virtio.h
@@ -352,6 +352,8 @@ struct virtio_consts {
/* called to read config regs */
int (*vc_cfgwrite)(void *, int, int, uint32_t);
/* called to write config regs */
+ void (*vc_apply_features)(void *, uint64_t);
+ /* called to apply negotiated features */
uint64_t vc_hv_caps; /* hypervisor-provided capabilities */
};
OpenPOWER on IntegriCloud