qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: fred.konrad@greensocs.com
To: qemu-devel@nongnu.org, aliguori@us.ibm.com, afaerber@suse.de
Cc: peter.maydell@linaro.org, mst@redhat.com,
	mark.burton@greensocs.com, fred.konrad@greensocs.com
Subject: [Qemu-devel] [PATCH v6 0/8] virtio-blk refactoring.
Date: Tue, 12 Mar 2013 10:22:03 +0100	[thread overview]
Message-ID: <1363080131-16427-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-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-v6

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

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

There are no changes, just rebased on the current git.

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            |  33 ++++++++++--
 hw/virtio-pci.c            | 124 +++++++++++++++++++-----------------------
 hw/virtio-pci.h            |  15 +++++-
 hw/virtio.h                |   2 -
 9 files changed, 250 insertions(+), 149 deletions(-)

-- 
1.7.11.7

             reply	other threads:[~2013-03-12  9:25 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12  9:22 fred.konrad [this message]
2013-03-12  9:22 ` [Qemu-devel] [PATCH v6 1/8] virtio-blk: don't use pointer for configuration fred.konrad
2013-03-12 14:13   ` Peter Maydell
2013-03-12  9:22 ` [Qemu-devel] [PATCH v6 2/8] virtio-blk: add the virtio-blk device fred.konrad
2013-03-12 14:28   ` Peter Maydell
2013-03-12 14:37     ` KONRAD Frédéric
2013-03-12 14:42       ` Peter Maydell
2013-03-12 15:08         ` KONRAD Frédéric
2013-03-12 15:12           ` Peter Maydell
2013-03-12 15:22             ` KONRAD Frédéric
2013-03-12 16:31               ` Cornelia Huck
2013-03-13  8:24                 ` KONRAD Frédéric
2013-03-13 15:32                   ` KONRAD Frédéric
2013-03-14  7:25                     ` Cornelia Huck
2013-03-14  8:37                       ` KONRAD Frédéric
2013-03-14  8:42                         ` Cornelia Huck
2013-03-14 13:05                           ` KONRAD Frédéric
2013-03-12  9:22 ` [Qemu-devel] [PATCH v6 3/8] virtio-blk-pci: switch to new API fred.konrad
2013-03-12 14:54   ` Peter Maydell
2013-03-12  9:22 ` [Qemu-devel] [PATCH v6 4/8] virtio-blk-s390: switch to the " fred.konrad
2013-03-12 14:56   ` Peter Maydell
2013-03-12  9:22 ` [Qemu-devel] [PATCH v6 5/8] virtio-blk-ccw switch to " fred.konrad
2013-03-12 14:58   ` Peter Maydell
2013-03-12  9:22 ` [Qemu-devel] [PATCH v6 6/8] virtio-blk: cleanup: init and exit functions fred.konrad
2013-03-12 15:01   ` Peter Maydell
2013-03-12  9:22 ` [Qemu-devel] [PATCH v6 7/8] virtio-blk: cleanup: QOM cast fred.konrad
2013-03-12 15:03   ` Peter Maydell
2013-03-12  9:22 ` [Qemu-devel] [PATCH v6 8/8] virtio-blk: cleanup: remove qdev field fred.konrad
2013-03-12 15:04   ` Peter Maydell

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=1363080131-16427-1-git-send-email-fred.konrad@greensocs.com \
    --to=fred.konrad@greensocs.com \
    --cc=afaerber@suse.de \
    --cc=aliguori@us.ibm.com \
    --cc=mark.burton@greensocs.com \
    --cc=mst@redhat.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).