Print this page
13275 bhyve needs richer INIT/SIPI support
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Approved by: Gordon Ross <gordon.w.ross@gmail.com>
@@ -302,10 +302,14 @@
#ifndef __FreeBSD__
/* illumos-specific APIs */
int vm_pmtmr_set_location(struct vmctx *ctx, uint16_t ioport);
int vm_wrlock_cycle(struct vmctx *ctx);
+int vm_get_run_state(struct vmctx *ctx, int vcpu, enum vcpu_run_state *state,
+ uint8_t *sipi_vector);
+int vm_set_run_state(struct vmctx *ctx, int vcpu, enum vcpu_run_state state,
+ uint8_t sipi_vector);
#endif /* __FreeBSD__ */
#ifdef __FreeBSD__
/*
* FreeBSD specific APIs