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.