HomeFreeBSD

vmm svm: Mark all VMCB state caches dirty on vCPU restore.

Description

vmm svm: Mark all VMCB state caches dirty on vCPU restore.

Mark Johnston noticed that this was missing VMCB_CACHE_LBR. Just set
all the bits as is done in svm_run() rather than trying to clear
individual bits.

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

Details

Provenance
jhbAuthored on Nov 18 2022, 5:58 PM
Reviewer
corvink
Differential Revision
D37259: vmm svm: Mark all VMCB state caches dirty on vCPU restore.
Parents
rG0f00260c679f: vmm vmx: Refactor per-vCPU data.
Branches
Unknown
Tags
Unknown