From: "Nicholas A. Bellinger" Subject: Re: [PATCH-v2 1/2] virtio-scsi: create VirtIOSCSICommon Date: Mon, 08 Apr 2013 21:08:11 -0700 Message-ID: <1365480491.24346.131.camel@haakon2.linux-iscsi.org> References: <1364519296-31883-1-git-send-email-nab@linux-iscsi.org> <1364519296-31883-2-git-send-email-nab@linux-iscsi.org> <87bo9oheex.fsf@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: target-devel , lf-virt , kvm-devel , qemu-devel , "Michael S. Tsirkin" , Stefan Hajnoczi , Paolo Bonzini , Asias He , Anthony Liguori To: Anthony Liguori Return-path: In-Reply-To: <87bo9oheex.fsf@codemonkey.ws> Sender: target-devel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Mon, 2013-04-08 at 16:59 -0500, Anthony Liguori wrote: > "Nicholas A. Bellinger" writes: > > > From: Paolo Bonzini > > > > This patch refactors existing virtio-scsi code into VirtIOSCSICommon > > in order to allow virtio_scsi_init_common() to be used by both internal > > virtio_scsi_init() and external vhost-scsi-pci code. > > > > Changes in Patch-v2: > > - Move ->get_features() assignment to virtio_scsi_init() instead of > > virtio_scsi_init_common() > > > Any reason we're not doing this as a QOM base class? > > Similiar to how the in-kernel PIT/PIC work using a common base class... > Mmm, not sure. Paolo, what do you prefer here..? Also, has your qemu/scsi-next branch with this series been pushed to a public tree yet..? ;) --nab