diff options
| author | Jim Mattson <jmattson@google.com> | 2026-04-07 22:03:24 +0300 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-05-14 15:45:07 +0300 |
| commit | 822790ab01495d67b14174063ba46fcc19ff0aa8 (patch) | |
| tree | 80c9e26af18742e7b9a5b73ad24184135ffa4b7f /scripts/const_structs.checkpatch | |
| parent | b7fbe9a1bf9ee6c967ef77d366ca58c35fcf1887 (diff) | |
| download | linux-822790ab01495d67b14174063ba46fcc19ff0aa8.tar.xz | |
KVM: x86: Define KVM_X86_QUIRK_NESTED_SVM_SHARED_PAT
Define a quirk to control whether nested SVM shares L1's PAT with L2
(legacy behavior) or gives L2 its own independent gPAT (correct behavior
per the APM).
When the quirk is enabled (default), L2 shares L1's PAT, preserving the
legacy KVM behavior. When userspace disables the quirk, KVM correctly
virtualizes the PAT for nested SVM guests, giving L2 a separate gPAT as
specified in the AMD architecture.
Signed-off-by: Jim Mattson <jmattson@google.com>
Link: https://patch.msgid.link/20260407190343.325299-2-jmattson@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
