[PATCH 0/2] KVM: SVM: Aggressively clear vmcb02 clean bits

Jim Mattson posted 2 patches 1 week, 2 days ago
arch/x86/kvm/svm/nested.c | 2 ++
1 file changed, 2 insertions(+)
[PATCH 0/2] KVM: SVM: Aggressively clear vmcb02 clean bits
Posted by Jim Mattson 1 week, 2 days ago
It is unlikely that L1 will toggle the MSR intercept bit in vmcb02,
or that L1 will change its own IA32_PAT MSR. However, if it does,
the affected fields in vmcb02 should not be marked clean.

An alternative approach would be to implement a set of mutators for
vmcb02 fields, and to clear the associated clean bit whenever a field
is modified.

Jim Mattson (2):
  KVM: SVM: Mark VMCB_PERM_MAP as dirty on nested VMRUN
  KVM: SVM: Mark VMCB_NPT as dirty on nested VMRUN

 arch/x86/kvm/svm/nested.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.51.0.470.ga7dc726c21-goog