Received: from eggs.gnu.org ([2001:4830:134:3::10]:33771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJfp6-0002EN-44 for qemu-devel@nongnu.org; Mon, 27 Jul 2015 06:39:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJfp2-0005LH-Te for qemu-devel@nongnu.org; Mon, 27 Jul 2015 06:39:56 -0400 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:54764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJfp2-0005Kz-KB for qemu-devel@nongnu.org; Mon, 27 Jul 2015 06:39:52 -0400 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 27 Jul 2015 11:39:49 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 785F317D8059 for ; Mon, 27 Jul 2015 11:41:11 +0100 (BST) Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t6RAdkAJ38928558 for ; Mon, 27 Jul 2015 10:39:46 GMT Received: from d06av11.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t6RAdkeB007570 for ; Mon, 27 Jul 2015 04:39:46 -0600 Date: Mon, 27 Jul 2015 12:39:44 +0200 From: Cornelia Huck Message-ID: <20150727123944.206dc063.cornelia.huck@de.ibm.com> In-Reply-To: <55B607C7.9070705@redhat.com> References: <1437990561-22134-1-git-send-email-jasowang@redhat.com> <1437990561-22134-3-git-send-email-jasowang@redhat.com> <55B607C7.9070705@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH V4 2/3] virtio-blk: fail get_features when both scsi and 1.0 were set List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Jason Wang , qemu-devel@nongnu.org, mst@redhat.com On Mon, 27 Jul 2015 12:28:23 +0200 Paolo Bonzini wrote: > On 27/07/2015 11:49, Jason Wang wrote: > > + if (__virtio_has_feature(features, VIRTIO_F_VERSION_1)) { > > No double underscores in userspace code. Longstanding so it can be > fixed after 2.4 is out---but please remember to do it. There's https://marc.info/?l=qemu-devel&m=142599436726514&w=2 which seems to have been lost in all that virtio rebasing.