All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v7 0/8] virtio-blk refactoring.
@ 2013-03-14 16:04 fred.konrad
  2013-03-14 16:04 ` [Qemu-devel] [PATCH v7 1/8] virtio-blk: don't use pointer for configuration fred.konrad
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: fred.konrad @ 2013-03-14 16:04 UTC (permalink / raw)
  To: qemu-devel, aliguori
  Cc: peter.maydell, mst, mark.burton, cornelia.huck, afaerber,
	fred.konrad

From: KONRAD Frederic <fred.konrad@greensocs.com>

This is the next part of virtio-refactoring.

Basically it creates virtio-blk device which extends virtio-device.
Then a virtio-blk can be connected on a virtio-bus.
virtio-blk-pci, virtio-blk-s390x, virtio-blk-ccw are created too, they extend
respectively virtio-pci, virtio-s390-device, virtio-ccw-device and have a
virtio-blk.

It is on top of "virtio: make virtio device's structures public" (V4) I posted
before, but you can checkout my branch here:

git://project.greensocs.com/qemu-virtio.git virtio-blk-v7

I made basic tests (with linux guests) on:
 * qemu-system-i386
 * qemu-system-s390x

Cornelia made virtio-ccw test, and Stefan tried dataplane.

Changes v6 -> v7:
    * Fix the DEFINE_VIRTIO_BLK_PROPERTIES macro issue spotted by Peter.

Thanks.

Fred

KONRAD Frederic (8):
  virtio-blk: don't use pointer for configuration.
  virtio-blk: add the virtio-blk device.
  virtio-blk-pci: switch to new API.
  virtio-blk-s390: switch to the new API.
  virtio-blk-ccw switch to new API.
  virtio-blk: cleanup: init and exit functions.
  virtio-blk: cleanup: QOM cast
  virtio-blk: cleanup: remove qdev field.

 hw/s390x/s390-virtio-bus.c |  30 +++++++----
 hw/s390x/s390-virtio-bus.h |  13 ++++-
 hw/s390x/virtio-ccw.c      |  37 ++++++++-----
 hw/s390x/virtio-ccw.h      |  14 ++++-
 hw/virtio-blk.c            | 131 +++++++++++++++++++++++++++++----------------
 hw/virtio-blk.h            |  26 +++++++--
 hw/virtio-pci.c            | 127 ++++++++++++++++++++-----------------------
 hw/virtio-pci.h            |  15 +++++-
 hw/virtio.h                |   2 -
 9 files changed, 246 insertions(+), 149 deletions(-)

-- 
1.7.11.7

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-03-14 22:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-14 16:04 [Qemu-devel] [PATCH v7 0/8] virtio-blk refactoring fred.konrad
2013-03-14 16:04 ` [Qemu-devel] [PATCH v7 1/8] virtio-blk: don't use pointer for configuration fred.konrad
2013-03-14 16:04 ` [Qemu-devel] [PATCH v7 2/8] virtio-blk: add the virtio-blk device fred.konrad
2013-03-14 16:18   ` Peter Maydell
2013-03-14 16:04 ` [Qemu-devel] [PATCH v7 3/8] virtio-blk-pci: switch to new API fred.konrad
2013-03-14 16:04 ` [Qemu-devel] [PATCH v7 4/8] virtio-blk-s390: switch to the " fred.konrad
2013-03-14 16:04 ` [Qemu-devel] [PATCH v7 5/8] virtio-blk-ccw switch to " fred.konrad
2013-03-14 16:04 ` [Qemu-devel] [PATCH v7 6/8] virtio-blk: cleanup: init and exit functions fred.konrad
2013-03-14 16:04 ` [Qemu-devel] [PATCH v7 7/8] virtio-blk: cleanup: QOM cast fred.konrad
2013-03-14 16:04 ` [Qemu-devel] [PATCH v7 8/8] virtio-blk: cleanup: remove qdev field fred.konrad
2013-03-14 22:06 ` [Qemu-devel] [PATCH v7 0/8] virtio-blk refactoring Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.