From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v4 7/8] virtio: add 1.0 support Date: Tue, 19 Jan 2016 13:55:13 +0800 Message-ID: <20160119055513.GI19531@yliu-dev.sh.intel.com> References: <1452581944-24838-1-git-send-email-yuanhan.liu@linux.intel.com> <1452832571-6156-1-git-send-email-yuanhan.liu@linux.intel.com> <1452832571-6156-8-git-send-email-yuanhan.liu@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev@dpdk.org" To: "Xie, Huawei" Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 87D318D8F for ; Tue, 19 Jan 2016 06:53:12 +0100 (CET) Content-Disposition: inline In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Jan 18, 2016 at 04:50:16PM +0000, Xie, Huawei wrote: > On 1/15/2016 12:34 PM, Yuanhan Liu wrote: > > -static void > > +static int > > virtio_negotiate_features(struct virtio_hw *hw) > > { > > uint64_t host_features; > > @@ -949,6 +949,22 @@ virtio_negotiate_features(struct virtio_hw *hw) > > hw->guest_features = vtpci_negotiate_features(hw, host_features); > > Here if we are not modern device, we should remove VIRTIO_F_VERSION_1 in > guest features. VIRTIO_F_VERSION_1 should not be set for legacy virtio device at all. --yliu