[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH V5 0/8] virtio-blk refactoring.
From: |
fred . konrad |
Subject: |
[Qemu-devel] [PATCH V5 0/8] virtio-blk refactoring. |
Date: |
Mon, 18 Feb 2013 15:15:41 +0100 |
From: KONRAD Frederic <address@hidden>
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" (V3) I posted
before, but you can checkout my branch here:
git://git.greensocs.com/qemu_virtio.git virtio-blk-v5
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 but I resend it with an appropriate commit message for
"virtio-blk-ccw switch to new API".
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 | 38 ++++++++-----
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, 251 insertions(+), 149 deletions(-)
--
1.7.11.7
- [Qemu-devel] [PATCH V5 0/8] virtio-blk refactoring.,
fred . konrad <=
- [Qemu-devel] [PATCH V5 2/8] virtio-blk: add the virtio-blk device., fred . konrad, 2013/02/18
- [Qemu-devel] [PATCH V5 1/8] virtio-blk: don't use pointer for configuration., fred . konrad, 2013/02/18
- [Qemu-devel] [PATCH V5 3/8] virtio-blk-pci: switch to new API., fred . konrad, 2013/02/18
- [Qemu-devel] [PATCH V5 4/8] virtio-blk-s390: switch to the new API., fred . konrad, 2013/02/18
- [Qemu-devel] [PATCH V5 5/8] virtio-blk-ccw switch to new API., fred . konrad, 2013/02/18
- [Qemu-devel] [PATCH V5 6/8] virtio-blk: cleanup: init and exit functions., fred . konrad, 2013/02/18
- [Qemu-devel] [PATCH V5 8/8] virtio-blk: cleanup: remove qdev field., fred . konrad, 2013/02/18
- [Qemu-devel] [PATCH V5 7/8] virtio-blk: cleanup: QOM cast, fred . konrad, 2013/02/18