Re: [PATCH v4 2/2] virt: acrn: Introduce interfaces for virtual device creating/destroying
From: Greg KH
Date: Tue Sep 14 2021 - 03:01:48 EST
On Tue, Sep 14, 2021 at 02:26:27PM +0800, Fei Li wrote:
> +struct acrn_vdev {
> + /*
> + * the identifier of the device, the low 32 bits represent the vendor
> + * id and device id of PCI device and the high 32 bits represent the
> + * device number of the legacy device
> + */
> + union {
> + __u64 value;
> + struct {
> + __u16 vendor;
> + __u16 device;
> + __u32 legacy_id;
What is the endian of these fields?
Please always specify them.
thanks,
greg k-h