-
- Downloads
KVM: SEV: Allow per-guest configuration of GHCB protocol version
The GHCB protocol version may be different from one guest to the next. Add a field to track it for each KVM instance and extend KVM_SEV_INIT2 to allow it to be configured by userspace. Now that all SEV-ES support for GHCB protocol version 2 is in place, go ahead and default to it when creating SEV-ES guests through the new KVM_SEV_INIT2 interface. Keep the older KVM_SEV_ES_INIT interface restricted to GHCB protocol version 1. Suggested-by:Sean Christopherson <seanjc@google.com> Signed-off-by:
Michael Roth <michael.roth@amd.com> Message-ID: <20240501071048.2208265-5-michael.roth@amd.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- Documentation/virt/kvm/x86/amd-memory-encryption.rst 9 additions, 2 deletionsDocumentation/virt/kvm/x86/amd-memory-encryption.rst
- arch/x86/include/uapi/asm/kvm.h 3 additions, 1 deletionarch/x86/include/uapi/asm/kvm.h
- arch/x86/kvm/svm/sev.c 29 additions, 3 deletionsarch/x86/kvm/svm/sev.c
- arch/x86/kvm/svm/svm.h 1 addition, 0 deletionsarch/x86/kvm/svm/svm.h
Loading