Received: from eggs.gnu.org ([2001:4830:134:3::10]:45518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVNb6-00069c-2N for qemu-devel@nongnu.org; Tue, 10 Mar 2015 13:05:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVNb2-0002Qb-HI for qemu-devel@nongnu.org; Tue, 10 Mar 2015 13:05:36 -0400 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:48390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVNb2-0002O4-8o for qemu-devel@nongnu.org; Tue, 10 Mar 2015 13:05:32 -0400 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 10 Mar 2015 17:05:30 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 79EBD1B0805F for ; Tue, 10 Mar 2015 17:05:48 +0000 (GMT) Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t2AH5StQ7733706 for ; Tue, 10 Mar 2015 17:05:28 GMT Received: from d06av05.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t2AH5Rxa000566 for ; Tue, 10 Mar 2015 11:05:27 -0600 Date: Tue, 10 Mar 2015 18:05:26 +0100 From: Cornelia Huck Message-ID: <20150310180526.2149b5c2.cornelia.huck@de.ibm.com> In-Reply-To: <20150310173153-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> <20150310170347.48bf09ca.cornelia.huck@de.ibm.com> <20150310173153-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 17:34:27 +0100 "Michael S. Tsirkin" wrote: > On Tue, Mar 10, 2015 at 05:03:47PM +0100, Cornelia Huck wrote: > > 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. > > Will rebasing virtio-1.0 on top of master after your patch > is upstream do the trick as well? set-revision needs to merge the change, I did not introduce generic helpers. > > > - 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. > > Right, but for that, let's get it all in working order using patches on > top, first. Then, re-split logically. I'll prepare a patch for review. > > > Also, it seems there are some r-bs that had been given for my patches > > that are missing on your branch. > > I might have missed some - can you hunt up the msg ids? There are at least: <20150120110021.GH17631@stefanha-thinkpad.redhat.com> <20150120111947.GM17631@stefanha-thinkpad.redhat.com> <20150120111555.GL17631@stefanha-thinkpad.redhat.com> <20141212122547.511baafd@oc7435384737.ibm.com> <20150122021522.GK27371@voom.fritz.box> <20150120110603.GI17631@stefanha-thinkpad.redhat.com> <20150120102936.GE17631@stefanha-thinkpad.redhat.com> ...and some for the virtio patches that are already upstream :(