* Elliot Berman <quic_eberman@xxxxxxxxxxx> [2024-02-22 15:16:38]: > +/** > + * struct gunyah_vm_exit_info - Reason for VM exit as reported by Gunyah > + * See Gunyah documentation for values. > + * @type: Describes how VM exited > + * @padding: padding bytes > + * @reason_size: Number of bytes valid for `reason` > + * @reason: See Gunyah documentation for interpretation. Note: these values are > + * not interpreted by Linux and need to be converted from little-endian > + * as applicable. > + */ > +struct gunyah_vm_exit_info { > + __u16 type; Pls add an enum to describe the various exit types. > + __u16 padding; > + __u32 reason_size; > + __u8 reason[GUNYAH_VM_MAX_EXIT_REASON_SIZE]; > +}; - vatsa