From: fred.konrad@greensocs.com
To: qemu-devel@nongnu.org, aliguori@us.ibm.com
Cc: cornelia.huck@de.ibm.com, peter.maydell@linaro.org,
mark.burton@greensocs.com, fred.konrad@greensocs.com
Subject: [Qemu-devel] [PATCH v5 00/10] virtio-scsi refactoring.
Date: Thu, 21 Mar 2013 15:15:10 +0100 [thread overview]
Message-ID: <1363875320-7985-1-git-send-email-fred.konrad@greensocs.com> (raw)
From: KONRAD Frederic <fred.konrad@greensocs.com>
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.
I made basic tests (with linux guests) on:
* qemu-system-i386
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(-)
--
1.7.11.7
next reply other threads:[~2013-03-21 14:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-21 14:15 fred.konrad [this message]
2013-03-21 14:15 ` [Qemu-devel] [PATCH v5 01/10] virtio-scsi: don't use pointer for configuration fred.konrad
2013-03-21 14:15 ` [Qemu-devel] [PATCH v5 02/10] virtio-scsi: allocate cmd_vqs array separately fred.konrad
2013-03-21 14:15 ` [Qemu-devel] [PATCH v5 03/10] virtio-scsi: moving host_features from properties to transport properties fred.konrad
2013-03-21 14:15 ` [Qemu-devel] [PATCH v5 04/10] virtio-scsi: add the virtio-scsi device fred.konrad
2013-03-21 14:15 ` [Qemu-devel] [PATCH v5 05/10] virtio-scsi-pci: switch to new API fred.konrad
2013-03-21 14:15 ` [Qemu-devel] [PATCH v5 06/10] virtio-scsi-s390: switch to the " fred.konrad
2013-03-21 14:15 ` [Qemu-devel] [PATCH v5 07/10] virtio-scsi-ccw: switch to " fred.konrad
2013-03-21 14:15 ` [Qemu-devel] [PATCH v5 08/10] virtio-scsi: cleanup: use QOM casts fred.konrad
2013-03-21 14:15 ` [Qemu-devel] [PATCH v5 09/10] virtio-scsi: cleanup: init and exit functions fred.konrad
2013-03-21 14:15 ` [Qemu-devel] [PATCH v5 10/10] virtio-scsi: cleanup: remove qdev field fred.konrad
2013-03-22 9:25 ` [Qemu-devel] [PATCH v5 00/10] virtio-scsi refactoring Cornelia Huck
2013-03-26 11:12 ` Peter Maydell
2013-03-26 18:33 ` Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1363875320-7985-1-git-send-email-fred.konrad@greensocs.com \
--to=fred.konrad@greensocs.com \
--cc=aliguori@us.ibm.com \
--cc=cornelia.huck@de.ibm.com \
--cc=mark.burton@greensocs.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).