aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorTom Dohrmann <[email protected]>2024-09-02 14:42:19 +0000
committerPaolo Bonzini <[email protected]>2024-09-02 10:56:10 -0400
commitd30d9ee94cc0e7ae91da7251d9c280b8cf7e5e4d (patch)
treea9d9311aab416d4c3ed27407b91b878b7e6b717f /lib/crypto/mpi/mpi-mul.c
parent1ae99594fb7a7e78de7b1adf0feb4f681937a28e (diff)
KVM: x86: Only advertise KVM_CAP_READONLY_MEM when supported by VM
Until recently, KVM_CAP_READONLY_MEM was unconditionally supported on x86, but this is no longer the case for SEV-ES and SEV-SNP VMs. When KVM_CHECK_EXTENSION is invoked on a VM, only advertise KVM_CAP_READONLY_MEM when it's actually supported. Fixes: 66155de93bcf ("KVM: x86: Disallow read-only memslots for SEV-ES and SEV-SNP (and TDX)") Cc: Sean Christopherson <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: Michael Roth <[email protected]> Signed-off-by: Tom Dohrmann <[email protected]> Message-ID: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions