linux/Documentation/virt/kvm
Paolo Bonzini 2da1ed62d5 KVM: SVM: document KVM_MEM_ENCRYPT_OP, let userspace detect if SEV is available
Userspace has no way to query if SEV has been disabled with the
sev module parameter of kvm-amd.ko.  Actually it has one, but it
is a hack: do ioctl(KVM_MEM_ENCRYPT_OP, NULL) and check if it
returns EFAULT.  Make it a little nicer by returning zero for
SEV enabled and NULL argument, and while at it document the
ioctl arguments.

Cc: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-03-20 13:47:52 -04:00
..
arm docs: kvm: arm/psci.txt: convert to ReST 2020-02-12 20:10:01 +01:00
devices docs: kvm: convert devices/xive.txt to ReST 2020-02-12 20:09:58 +01:00
amd-memory-encryption.rst KVM: SVM: document KVM_MEM_ENCRYPT_OP, let userspace detect if SEV is available 2020-03-20 13:47:52 -04:00
api.rst KVM: s390: rstify new ioctls in api.rst 2020-02-24 19:28:40 +01:00
cpuid.rst
halt-polling.rst docs: virt: convert halt-polling.txt to ReST format 2020-02-12 20:09:50 +01:00
hypercalls.rst docs: kvm: Convert hypercalls.txt to ReST format 2020-02-12 20:10:02 +01:00
index.rst docs: kvm: review-checklist.txt: rename to ReST 2020-02-12 20:10:07 +01:00
locking.rst docs: kvm: Convert locking.txt to ReST format 2020-02-12 20:10:02 +01:00
mmu.rst docs: kvm: Convert mmu.txt to ReST format 2020-02-12 20:10:03 +01:00
msr.rst docs: virt: Convert msr.txt to ReST format 2020-02-12 20:09:51 +01:00
nested-vmx.rst docs: kvm: Convert nested-vmx.txt to ReST format 2020-02-12 20:10:04 +01:00
ppc-pv.rst docs: kvm: Convert ppc-pv.txt to ReST format 2020-02-12 20:10:05 +01:00
review-checklist.rst docs: kvm: review-checklist.txt: rename to ReST 2020-02-12 20:10:07 +01:00
s390-diag.rst docs: kvm: Convert s390-diag.txt to ReST format 2020-02-12 20:10:06 +01:00
timekeeping.rst docs: kvm: Convert timekeeping.txt to ReST format 2020-02-12 20:10:06 +01:00
vcpu-requests.rst