summaryrefslogtreecommitdiffstats
path: root/kernel/locking
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-01-20 01:07:14 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2022-01-26 12:15:00 -0500
commitc532f2903b69b775d27016511fbe29a14a098f95 (patch)
treecde0bc32629f167e29095a3cf58fd52e2a369442 /kernel/locking
parent0b0be065b7563ac708aaa9f69dd4941c80b3446d (diff)
downloadlinux-c532f2903b69b775d27016511fbe29a14a098f95.tar.bz2
KVM: SVM: Explicitly require DECODEASSISTS to enable SEV support
Add a sanity check on DECODEASSIST being support if SEV is supported, as KVM cannot read guest private memory and thus relies on the CPU to provide the instruction byte stream on #NPF for emulation. The intent of the check is to document the dependency, it should never fail in practice as producing hardware that supports SEV but not DECODEASSISTS would be non-sensical. Signed-off-by: Sean Christopherson <seanjc@google.com> Reviewed-by: Liam Merwick <liam.merwick@oracle.com> Message-Id: <20220120010719.711476-5-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions