Pass a pointer to the current struct vcpu to the vcpu_init callback
and save this pointer in the CPU-specific vcpu structures.
Add routines to fetch a struct vcpu by index from a VM and to query
the VM and vcpuid from a struct vcpu.
Differential D37156
vmm: Expose struct vcpu as an opaque type. jhb on Oct 27 2022, 3:04 PM. Authored by Tags None Referenced Files
Details
Pass a pointer to the current struct vcpu to the vcpu_init callback Add routines to fetch a struct vcpu by index from a VM and to query
Diff Detail
|