[PATCH v3 21/25] KVM: TDX: Add tdx_get_cmd() helper to get and validate sub-ioctl command

Edgecombe, Rick P rick.p.edgecombe at intel.com
Tue Oct 21 11:12:04 AEDT 2025


On Thu, 2025-10-16 at 17:32 -0700, Sean Christopherson wrote:
> Add a helper to copy a kvm_tdx_cmd structure from userspace and verify
> that must-be-zero fields are indeed zero.
> 
> No functional change intended.
> 
> Signed-off-by: Sean Christopherson <seanjc at google.com>
> ---

Reviewed-by: Rick Edgecombe <rick.p.edgecombe at intel.com>


More information about the Linuxppc-dev mailing list