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 Authored by jhb on Oct 27 2022, 3:04 PM.
Details
Summary 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
Event TimelineHerald added a reviewer: bhyve. · View Herald TranscriptOct 27 2022, 3:04 PM2022-10-27 15:04:01 (UTC+0) Harbormaster completed remote builds in B48028: Diff 112265.Oct 27 2022, 3:04 PM2022-10-27 15:04:01 (UTC+0) jhb added a parent revision: D37155: vmm: Use VLAPIC_CTR* in more places..Oct 27 2022, 3:04 PM2022-10-27 15:04:03 (UTC+0) This revision is now accepted and ready to land.Nov 4 2022, 3:08 PM2022-11-04 15:08:04 (UTC+0) This revision now requires review to proceed.Nov 4 2022, 9:19 PM2022-11-04 21:19:16 (UTC+0) Harbormaster completed remote builds in B48161: Diff 112624.Nov 4 2022, 9:19 PM2022-11-04 21:19:22 (UTC+0) This revision is now accepted and ready to land.Nov 7 2022, 7:14 AM2022-11-07 07:14:39 (UTC+0) Closed by commit rG950af9ffc616: vmm: Expose struct vcpu as an opaque type.. · Explain WhyNov 18 2022, 6:27 PM2022-11-18 18:27:57 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 113299 |