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

(cherry picked from commit 19b9dd2e08eda491ab1c181ca5a3659f7e7628fc)

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
rGe30d4a6b2451: vmm vmx: Refactor per-vCPU data.
Branches
Unknown
Tags
Unknown