HomeFreeBSD

vmm: Rework snapshotting of CPU-specific per-vCPU data.

Description

vmm: Rework snapshotting of CPU-specific per-vCPU data.

Previously some per-vCPU state was saved in vmmops_snapshot and other
state was saved in vmmops_vcmx_snapshot. Consolidate all per-vCPU
state into the latter routine and rename the hook to the more generic
'vcpu_snapshot'. Note that the CPU-independent per-vCPU data is still
stored in a separate blob as well as the per-vCPU local APIC data.

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

(cherry picked from commit 39ec056e6dbd89e26ee21d2928dbd37335de0ebc)

Details

Provenance
jhbAuthored on Nov 18 2022, 5:58 PM
Reviewer
corvink
Differential Revision
D37150: vmm: Rework snapshotting of CPU-specific per-vCPU data.
Parents
rG02c219b9c9a8: vmm svm: Mark all VMCB state caches dirty on vCPU restore.
Branches
Unknown
Tags
Unknown