opnsense-src/lib/libvmmapi
John Baldwin 3762293b30 vmm: Use struct vcpu in the instruction emulation code.
This passes struct vcpu down in place of struct vm and and integer
vcpu index through the in-kernel instruction emulation code.  To
minimize userland disruption, helper macros are used for the vCPU
arguments passed into and through the shared instruction emulation
code.

A few other APIs used by the instruction emulation code have also been
updated to accept struct vcpu in the kernel including
vm_get/set_register and vm_inject_fault.

Reviewed by:	corvink, markj
Differential Revision:	https://reviews.freebsd.org/D37161

(cherry picked from commit d3956e4673)
2023-01-26 13:47:39 -08:00
..
Makefile libvmmapi: Fix warnings and stop overridding WARNS 2021-08-02 15:01:02 -04:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
vmmapi.c vmm: Use struct vcpu in the instruction emulation code. 2023-01-26 13:47:39 -08:00
vmmapi.h vmm: Use struct vcpu in the instruction emulation code. 2023-01-26 13:47:39 -08:00
vmmapi_freebsd.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00