Documentation: KVM: SEV: Use the uapi structure names
Subsystems (2)
PATCH 1/1 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.
--- Documentation/virt/kvm/x86/amd-memory-encryption.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/virt/kvm/x86/amd-memory-encryption.rst +4 -4
@@ -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;
Signature · 1 line
2.53.0
Quoted 8 lines · Karl Mehltretter
The document names struct
kvm_sev_launch_update,
structkvm_sev_attestation, structkvm_sev_launch_send_update_dataand structkvm_sev_launch_receive_update_data. None of them exists inarch/x86/include/uapi/asm/kvm.h; the structures arekvm_sev_launch_update_data,kvm_sev_attestation_report,kvm_sev_send_update_dataandkvm_sev_receive_update_data.[...]
Applied to kvm-x86 misc, thanks!
[1/1] Documentation: KVM: SEV: Use the uapi structure names
https://github.com/kvm-x86/linux/commit/fe02f37155c8