summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorJim Mattson <jmattson@google.com>2025-09-22 09:29:23 -0700
committerSean Christopherson <seanjc@google.com>2025-10-14 12:50:57 -0700
commit7c8b465a1c91f674655ea9cec5083744ec5f796a (patch)
treed0601883c7be89da3f2774e1b056b8edd49afa56 /rust/helpers/task.c
parent93c9e107386dbe1243287a5b14ceca894de372b9 (diff)
KVM: SVM: Mark VMCB_NPT as dirty on nested VMRUN
Mark the VMCB_NPT bit as dirty in nested_vmcb02_prepare_save() on every nested VMRUN. If L1 changes the PAT MSR between two VMRUN instructions on the same L1 vCPU, the g_pat field in the associated vmcb02 will change, and the VMCB_NPT clean bit should be cleared. Fixes: 4bb170a5430b ("KVM: nSVM: do not mark all VMCB02 fields dirty on nested vmexit") Cc: stable@vger.kernel.org Signed-off-by: Jim Mattson <jmattson@google.com> Link: https://lore.kernel.org/r/20250922162935.621409-3-jmattson@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions