Re: [PATCH v3 18/70] i386/tdx: Get tdx_capabilities via KVM_TDX_CAPABILITIES

Xiaoyao Li
2023-12-07T07:18:27Z

On 11/15/2023 6:54 PM, Daniel P. Berrangé wrote:
>> +static int tdx_ioctl_internal(void *state, enum tdx_ioctl_level level, int cmd_id,
>> + __u32 flags, void *data)
>> +{
>> + struct kvm_tdx_cmd tdx_cmd;
> Add ' = {}' to initialize to all-zeros, avoiding the explicit
> memset call

thanks for the suggestion. Will do it in the next version.