diff options
| author | Jim Mattson <jmattson@google.com> | 2026-04-07 12:03:29 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-05-14 05:45:12 -0700 |
| commit | d65cf222b8994e2c82a8effa855f7357b1e18d1e (patch) | |
| tree | e35128ea55045c25e0eb152858647490c1d84d94 /tools/lib/python/kdoc/parse_data_structs.py | |
| parent | 573321b945af85499ec4ea84d805af9a054d4629 (diff) | |
KVM: x86: nSVM: Save gPAT to vmcb12.g_pat on VMEXIT
According to the APM volume 3 pseudo-code for "VMRUN," when nested paging
is enabled in the vmcb, the guest PAT register (gPAT) is saved to the vmcb
on emulated VMEXIT.
When KVM_X86_QUIRK_NESTED_SVM_SHARED_PAT is disabled and the vCPU is in
guest mode with nested NPT enabled, save the vmcb02 g_pat field to the
vmcb12 g_pat field on emulated VMEXIT.
Fixes: 15038e147247 ("KVM: SVM: obey guest PAT")
Signed-off-by: Jim Mattson <jmattson@google.com>
Link: https://patch.msgid.link/20260407190343.325299-7-jmattson@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
