Received: from eggs.gnu.org ([2001:4830:134:3::10]:56828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVMdT-0002Qd-Tu for qemu-devel@nongnu.org; Tue, 10 Mar 2015 12:04:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVMdP-000636-Jo for qemu-devel@nongnu.org; Tue, 10 Mar 2015 12:03:59 -0400 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:39758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVMdP-00062j-BH for qemu-devel@nongnu.org; Tue, 10 Mar 2015 12:03:55 -0400 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 10 Mar 2015 16:03:52 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 4133D1B0806B for ; Tue, 10 Mar 2015 16:04:09 +0000 (GMT) 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 t2AG3ms610551784 for ; Tue, 10 Mar 2015 16:03:48 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 t2AG3m5X010337 for ; Tue, 10 Mar 2015 10:03:48 -0600 Date: Tue, 10 Mar 2015 17:03:47 +0100 From: Cornelia Huck Message-ID: <20150310170347.48bf09ca.cornelia.huck@de.ibm.com> In-Reply-To: <20150310152639-mutt-send-email-mst@redhat.com> References: <1425994335-14138-1-git-send-email-cornelia.huck@de.ibm.com> <20150310143806-mutt-send-email-mst@redhat.com> <20150310152229.042a9611.cornelia.huck@de.ibm.com> <20150310152639-mutt-send-email-mst@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] virtio: avoid leading underscores for helpers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org On Tue, 10 Mar 2015 15:27:24 +0100 "Michael S. Tsirkin" wrote: > On Tue, Mar 10, 2015 at 03:22:29PM +0100, Cornelia Huck wrote: > > On Tue, 10 Mar 2015 15:12:14 +0100 > > "Michael S. Tsirkin" wrote: > > > > > On Tue, Mar 10, 2015 at 02:32:15PM +0100, Cornelia Huck wrote: > > > > Commit ef546f1275f6563e8934dd5e338d29d9f9909ca6 ("virtio: add > > > > feature checking helpers") introduced a helper __virtio_has_feature. > > > > We don't want to use reserved identifiers, though, so let's > > > > rename __virtio_has_feature to virtio_has_feature and virtio_has_feature > > > > to virtio_vdev_has_feature. > > > > > > I don't think it's urgent to fix in master. > > > Let's focus on getting virtio 1.0 branch merged instead. > > > > I stumbled over this actually when trying to update my virtio-1 branch. > > I already did that change there (as promised in > > <20141212110701.0c6d879b.cornelia.huck@de.ibm.com>), but it got lost > > somewhere in my moving chaos. > > > > What's the status of your virtio-1.0 branch? > > virtio pci works there too now, so I started looking at upstreaming > stuff from that branch. Already did some. > > > Would it be worthwile for > > me to rebase on top of it so I can figure out which changes I have not > > yet sent out? > > Absolutely. OK, it's actually not that much: - this change :) - All ccw accesses are BE (see <20150121133922.1b3e7ceb.cornelia.huck@de.ibm.com>). I'll do two patches: One for the existing ccws which will go via my tree and one for the new set-revision ccw which should be squashed into that patch. - Use legacy/non-legacy feature bit getters instead of revision-specific ones (see <20150130151049.2e4c5331.cornelia.huck@de.ibm.com>). Should probably replace the existing patches introducing get_features_rev and using it in virtio-blk. Also, it seems there are some r-bs that had been given for my patches that are missing on your branch.