From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIyEM-0003ku-Ie for qemu-devel@nongnu.org; Fri, 22 Mar 2013 05:25:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIyEK-0000oi-GO for qemu-devel@nongnu.org; Fri, 22 Mar 2013 05:25:46 -0400 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:60445) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIyEK-0000oI-8K for qemu-devel@nongnu.org; Fri, 22 Mar 2013 05:25:44 -0400 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 22 Mar 2013 09:23:03 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 01EE117D801C for ; Fri, 22 Mar 2013 09:26:22 +0000 (GMT) Received: from d06av06.portsmouth.uk.ibm.com (d06av06.portsmouth.uk.ibm.com [9.149.37.217]) by b06cxnps3075.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r2M9PTho45744280 for ; Fri, 22 Mar 2013 09:25:29 GMT Received: from d06av06.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r2M9PcDO014547 for ; Fri, 22 Mar 2013 03:25:38 -0600 Date: Fri, 22 Mar 2013 10:25:36 +0100 From: Cornelia Huck Message-ID: <20130322102536.44b9faec@gondolin> In-Reply-To: <1363875320-7985-1-git-send-email-fred.konrad@greensocs.com> References: <1363875320-7985-1-git-send-email-fred.konrad@greensocs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v5 00/10] virtio-scsi refactoring. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: fred.konrad@greensocs.com Cc: peter.maydell@linaro.org, aliguori@us.ibm.com, mark.burton@greensocs.com, qemu-devel@nongnu.org On Thu, 21 Mar 2013 15:15:10 +0100 fred.konrad@greensocs.com wrote: > From: KONRAD Frederic > > This is the next part of virtio-refactoring. > > Basically it creates virtio-scsi device which extends virtio-device. > Then a virtio-scsi can be connected on a virtio-bus. > virtio-scsi-pci, virtio-scsi-s390x, virtio-scsi-ccw are created too, they extend > respectively virtio-pci, virtio-s390-device, virtio-ccw-device and have a > virtio-scsi. > > You can checkout my branch here: > > git://project.greensocs.com/qemu-virtio.git virtio-scsi-v5 > > Note that it is nearly the same series as virtio-blk refactoring. Though the 2nd > and the 3rd steps are a virtio-scsi specific. Reviewed-by: Cornelia Huck > > I made basic tests (with linux guests) on: > * qemu-system-i386 On s390 (both s390-virtio and virtio-ccw): Tested-by: Cornelia Huck > > Changes v4 -> v5: > * Added macro for features properties. > * Fixed the bad comment in virtio-scsi.c spotted by Cornelia. > > Changes v3 -> v4: > * Added CCW device. > * Fixed the configuration issue. > > Thanks, > > Fred > > KONRAD Frederic (10): > virtio-scsi: don't use pointer for configuration. > virtio-scsi: allocate cmd_vqs array separately. > virtio-scsi: moving host_features from properties to transport > properties. > virtio-scsi: add the virtio-scsi device. > virtio-scsi-pci: switch to new API. > virtio-scsi-s390: switch to the new API. > virtio-scsi-ccw: switch to new API > virtio-scsi: cleanup: use QOM casts. > virtio-scsi: cleanup: init and exit functions. > virtio-scsi: cleanup: remove qdev field. > > hw/s390x/s390-virtio-bus.c | 26 +++++++--- > hw/s390x/s390-virtio-bus.h | 11 +++- > hw/s390x/virtio-ccw.c | 28 ++++++----- > hw/s390x/virtio-ccw.h | 12 ++++- > hw/virtio-pci.c | 115 +++++++++++++++++++++--------------------- > hw/virtio-pci.h | 15 +++++- > hw/virtio-scsi.c | 122 ++++++++++++++++++++++++++++++--------------- > hw/virtio-scsi.h | 30 +++++++---- > 8 files changed, 226 insertions(+), 133 deletions(-) >