[PATCH v4 22/28] KVM: TDX: Add tdx_get_cmd() helper to get and validate sub-ioctl command
Binbin Wu
binbin.wu at linux.intel.com
Fri Oct 31 02:11:05 PDT 2025
On 10/31/2025 4:09 AM, 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.
>
> Reviewed-by: Rick Edgecombe <rick.p.edgecombe at intel.com>
> Reviewed-by: Kai Huang <kai.huang at intel.com>
> Signed-off-by: Sean Christopherson <seanjc at google.com>
Reviewed-by: Binbin Wu <binbin.wu at linux.intel.com>
More information about the linux-riscv
mailing list