Documentation: KVM: SEV: Use the uapi structure names

The document names struct kvm_sev_launch_update,
struct kvm_sev_attestation, struct kvm_sev_launch_send_update_data and
struct kvm_sev_launch_receive_update_data. None of them exists in
arch/x86/include/uapi/asm/kvm.h; the structures are
kvm_sev_launch_update_data, kvm_sev_attestation_report,
kvm_sev_send_update_data and kvm_sev_receive_update_data.

Use the uapi names.

Fixes: dc48bae01e ("KVM: Define SEV key management command id")
Fixes: 2c07ded064 ("KVM/SVM: add support for SEV attestation command")
Fixes: d3d1af85e2 ("KVM: SVM: Add KVM_SEND_UPDATE_DATA command")
Fixes: 15fb7de1a7 ("KVM: SVM: Add KVM_SEV_RECEIVE_UPDATE_DATA command")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Link: https://patch.msgid.link/20260905090912.40740-1-kmehltretter@gmail.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
This commit is contained in:
Karl Mehltretter 2026-09-05 11:09:12 +02:00 committed by Sean Christopherson
parent 2b0e0aa54f
commit fe02f37155

View File

@ -170,7 +170,7 @@ Returns: 0 on success, -negative on error
::
struct kvm_sev_launch_update {
struct kvm_sev_launch_update_data {
__u64 uaddr; /* userspace address to be encrypted (must be 16-byte aligned) */
__u32 len; /* length of the data to be encrypted (must be 16-byte aligned) */
};
@ -316,7 +316,7 @@ used by the guest owner with the KVM_SEV_LAUNCH_MEASURE.
If len is zero on entry, the measurement blob length is written to len and
uaddr is unused.
Parameters (in): struct kvm_sev_attestation
Parameters (in): struct kvm_sev_attestation_report
Returns: 0 on success, -negative on error
@ -377,7 +377,7 @@ Returns: 0 on success, -negative on error
::
struct kvm_sev_launch_send_update_data {
struct kvm_sev_send_update_data {
__u64 hdr_uaddr; /* userspace address containing the packet header */
__u32 hdr_len;
@ -447,7 +447,7 @@ Returns: 0 on success, -negative on error
::
struct kvm_sev_launch_receive_update_data {
struct kvm_sev_receive_update_data {
__u64 hdr_uaddr; /* userspace address containing the packet header */
__u32 hdr_len;