[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250922162935.621409-1-jmattson@google.com>
Date: Mon, 22 Sep 2025 09:29:21 -0700
From: Jim Mattson <jmattson@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, Paolo Bonzini <pbonzini@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>, kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Jim Mattson <jmattson@...gle.com>
Subject: [PATCH 0/2] KVM: SVM: Aggressively clear vmcb02 clean bits
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
Powered by blists - more mailing lists