On Wed, 27 Mar 2013 10:49:09 +0100 fred.kon...@greensocs.com wrote: > From: KONRAD Frederic <fred.kon...@greensocs.com> > > This is the next part of virtio-refactoring. > > Basically it creates virtio-balloon device which extends virtio-device. > Then a virtio-balloon can be connected on a virtio-bus. > virtio-balloon-pci, virtio-balloon-ccw are created too, they extend > respectively virtio-pci, virtio-ccw-device and have a virtio-balloon. > > You can checkout my branch here: > > git://project.greensocs.com/qemu-virtio.git virtio-balloon-v3 > > Note that it is nearly the same series as virtio-blk and virtio-scsi > refactoring.
Reviewed-by: Cornelia Huck <cornelia.h...@de.ibm.com> > > I made basic tests (with linux guests) on: > * qemu-system-i386 For virtio-ccw on s390: Tested-by: Cornelia Huck <cornelia.h...@de.ibm.com> > > Changes v2 -> v3: > * Added CCW device. > * Rebased. > > Thanks, > > Fred > > KONRAD Frederic (6): > virtio-balloon: add the virtio-balloon device. > virtio-balloon-pci: switch to the new API. > virtio-balloon-ccw: switch to the new API. > virtio-balloon: cleanup: init and exit function. > virtio-balloon: cleanup: QOM casts. > virtio-balloon: cleanup: remove qdev field. > > hw/s390x/virtio-ccw.c | 25 +++++++----- > hw/s390x/virtio-ccw.h | 11 +++++ > hw/virtio-balloon.c | 110 +++++++++++++++++++++++++++++++------------------ > hw/virtio-balloon.h | 7 +++- > hw/virtio-pci.c | 111 > +++++++++++++++++++++++++------------------------- > hw/virtio-pci.h | 14 +++++++ > 6 files changed, 170 insertions(+), 108 deletions(-) >