Received: from eggs.gnu.org ([2001:4830:134:3::10]:39149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHEWj-0006Km-Ew for qemu-devel@nongnu.org; Thu, 07 Jan 2016 12:39:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHEWg-0006rr-MU for qemu-devel@nongnu.org; Thu, 07 Jan 2016 12:39:09 -0500 Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:39148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHEWg-0006ri-Bm for qemu-devel@nongnu.org; Thu, 07 Jan 2016 12:39:06 -0500 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 7 Jan 2016 17:39:04 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id E4AD817D8042 for ; Thu, 7 Jan 2016 17:39:47 +0000 (GMT) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u07Hd2Ij62652514 for ; Thu, 7 Jan 2016 17:39:02 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u07Hcrss028088 for ; Thu, 7 Jan 2016 10:38:58 -0700 Date: Thu, 7 Jan 2016 18:38:44 +0100 From: Greg Kurz Message-ID: <20160107183844.688139c5@bahia.local> In-Reply-To: <87wprlpadf.fsf@linux.vnet.ibm.com> References: <1452020761-24457-1-git-send-email-wei.liu2@citrix.com> <1452020761-24457-21-git-send-email-wei.liu2@citrix.com> <87egdtqqdy.fsf@linux.vnet.ibm.com> <20160107171606.GF1457@citrix.com> <87wprlpadf.fsf@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 20/22] 9pfs: break out generic code from virtio-9p.{c, h} List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Aneesh Kumar K.V" Cc: Wei Liu , qemu-devel@nongnu.org, "Michael S. Tsirkin" On Thu, 07 Jan 2016 22:58:28 +0530 "Aneesh Kumar K.V" wrote: > Wei Liu writes: > > > On Thu, Jan 07, 2016 at 10:27:13PM +0530, Aneesh Kumar K.V wrote: > >> Wei Liu writes: > >> > >> > The vast majority of code in virtio-9p.c is actually generic code. > >> > Rename that file to 9p.c and move virtio specific code to > >> > virtio-9p-device.c. Rename virtio-9p.h to 9p.h and split out virtio > >> > specific code to new virtio-9p.h. > >> > > >> > Finally fix up virtio-pci.h header file inclusion. > >> > > >> > Note that V9fsState and V9fsPDU are still tied to virtio at the moment. > >> > They will be handled later. > >> > >> Can you split this to smaller patches as done for others. > >> > > > > I'm not sure what you're asking for. IMHO splitting out C and header > > file is better done in one single commit. > > > > virtio-9p.h -> 9p.h one patch > virtio_p9_push_and_notify . There is one other instance of that > conversion in the next patch > handle_p9_output movement > V9fsThPool, what is that ? > Indeed we no longer have that. It looks like this patch was crafted before: ebac1202c95a4f1b76b6ef3f0f63926fa76e753e virtio-9p: use QEMU thread pool > -aneesh -- Greg