Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp60719pxb; Tue, 14 Sep 2021 18:39:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyU8ESJ1J8seqyZV21shCAY4DsPAZQEXEfh5O+orCmsUwaEcoGqQkF2h398XHLA6gQkkWKk X-Received: by 2002:ac2:5492:: with SMTP id t18mr6166298lfk.675.1631669971052; Tue, 14 Sep 2021 18:39:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631669971; cv=none; d=google.com; s=arc-20160816; b=0bVSAjr/dvFA6TvvL9wQjU6wW5wul4FN8pft3lERv5wwcezsm0AOCxAD1o1XFUoHhw HzvJOCqCuiO66g0se82olkzV8aCgopaecd4JuuTa45Ge+j5EA6dZt2awiaJ3yc7DmLFL thAXSqLBw82OUwXH6o4CzRfbf4mlJQxBuxnrCk1hduno1RcrIqXbMYQlFqAIIAlKZ1ea iEWbReCZmepgM5rkehjbFmkKrsp5vgkfKYZJ6LekH6v1GqIRWnJn4fRkcbFQ+hhJoe8z N0Kx9z7NNPa4sIMRssJgglElFiTAoZu+BqlX/uudgSOVvCnBncVMmXuBc8AnxHDGovZ/ 3aeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Q5MgaY32VsbU5nkwdZl+xrzShOMupbYwGJEsZZc/8JA=; b=UR6BL4CbhKWqtHOog4QvdyfWciGLEmXGT11byl/RpkbkPRi3JRkeLT0wd7lK6db8Cp 2YhE4XEkDt/VDBXnPB8nI8yAYpXyGYdr8IitbZhx0X09AWcywbk79DR74I8JBW1PGsTT +RySjNQjtYIIOLceWHjUwkkeEtC34ckNMxktcyhiVpWJS5NES8L1x5H03N0/6FVxdKgY izN6SOIVo+1OD6DhxRUZGNtBcccSz+Qb00LzV4YUsfZCbXPbhOijwwJ7vz8GqaFr+Xp4 ySbuj1iqomyUMUpWpe1/pzVagr9BlZvi4SfIXQIDThjtyWAiLHd+glFuw42SdAzqvjds 3bpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b20si13897349lfs.309.2021.09.14.18.39.02; Tue, 14 Sep 2021 18:39:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231629AbhIOBgs (ORCPT + 99 others); Tue, 14 Sep 2021 21:36:48 -0400 Received: from mga04.intel.com ([192.55.52.120]:43117 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230322AbhIOBgr (ORCPT ); Tue, 14 Sep 2021 21:36:47 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10107"; a="220304979" X-IronPort-AV: E=Sophos;i="5.85,292,1624345200"; d="scan'208";a="220304979" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2021 18:35:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,292,1624345200"; d="scan'208";a="544375514" Received: from louislifei-optiplex-7050.sh.intel.com (HELO louislifei-OptiPlex-7050) ([10.239.154.151]) by FMSMGA003.fm.intel.com with ESMTP; 14 Sep 2021 18:35:27 -0700 Date: Wed, 15 Sep 2021 09:35:54 +0800 From: Li Fei1 To: Greg KH Cc: linux-kernel@vger.kernel.org, yu1.wang@intel.com, shuox.liu@gmail.com, fei1.li@intel.com Subject: Re: [PATCH v4 2/2] virt: acrn: Introduce interfaces for virtual device creating/destroying Message-ID: <20210915013554.GA28232@louislifei-OptiPlex-7050> References: <20210914062627.16431-1-fei1.li@intel.com> <20210914062627.16431-3-fei1.li@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 14, 2021 at 09:00:48AM +0200, Greg KH wrote: > 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? "Big-endian" or "Little-endian" ? If yes, they're Little-endian. > > Please always specify them. Sure. > > thanks, > > greg k-h