qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v6 0/7] virtio-serial refactoring.
@ 2013-04-09 12:53 fred.konrad
  2013-04-09 12:53 ` [Qemu-devel] [PATCH v6 1/7] virtio-serial: add the virtio-serial device fred.konrad
                   ` (9 more replies)
  0 siblings, 10 replies; 14+ messages in thread
From: fred.konrad @ 2013-04-09 12:53 UTC (permalink / raw)
  To: aliguori, qemu-devel, amit.shah
  Cc: cornelia.huck, peter.maydell, mark.burton, fred.konrad

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

This is the next part of virtio-refactoring.

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

Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

You can checkout my branch here:

git://project.greensocs.com/qemu-virtio.git virtio-serial-v6

Note that it is nearly the same series as virtio-blk and virtio-scsi
refactoring.

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

Amit are you ok with that?

Changes v5 -> v6:
    * Renamed device "virtio-serial" => "virtio-serial-device".

Changes v4 -> v5:
    * Fixed rebase issue with nvector and the clarifying comment.
    * Changed property macro for s390 and ccw device too.

Changes v3 -> v4:
    * Removed serial configuration field ommited in VirtioCCWDevice structure.

Changes v2 -> v3:
    * Added CCW device.
    * Rebased.

Thanks,

Fred

KONRAD Frederic (7):
  virtio-serial: add the virtio-serial device.
  virtio-serial-pci: switch to the new API.
  virtio-serial-s390: switch to the new API.
  virtio-serial-ccw: switch to the new API.
  virtio-serial: cleanup: init and exit functions.
  virtio-serial: cleanup: use QOM casts.
  virtio-serial: cleanup: remove qdev field.

 hw/char/virtio-serial-bus.c       | 157 ++++++++++++++++++++++----------------
 hw/s390x/s390-virtio-bus.c        |  31 +++++---
 hw/s390x/s390-virtio-bus.h        |  12 ++-
 hw/s390x/virtio-ccw.c             |  29 +++----
 hw/s390x/virtio-ccw.h             |  12 ++-
 hw/virtio/virtio-pci.c            | 131 ++++++++++++++++---------------
 hw/virtio/virtio-pci.h            |  14 +++-
 include/hw/virtio/virtio-serial.h |  13 +++-
 8 files changed, 239 insertions(+), 160 deletions(-)

-- 
1.8.1.4

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

end of thread, other threads:[~2013-04-15 21:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-09 12:53 [Qemu-devel] [PATCH v6 0/7] virtio-serial refactoring fred.konrad
2013-04-09 12:53 ` [Qemu-devel] [PATCH v6 1/7] virtio-serial: add the virtio-serial device fred.konrad
2013-04-09 12:53 ` [Qemu-devel] [PATCH v6 2/7] virtio-serial-pci: switch to the new API fred.konrad
2013-04-09 12:53 ` [Qemu-devel] [PATCH v6 3/7] virtio-serial-s390: " fred.konrad
2013-04-09 12:53 ` [Qemu-devel] [PATCH v6 4/7] virtio-serial-ccw: " fred.konrad
2013-04-09 12:53 ` [Qemu-devel] [PATCH v6 5/7] virtio-serial: cleanup: init and exit functions fred.konrad
2013-04-09 12:53 ` [Qemu-devel] [PATCH v6 6/7] virtio-serial: cleanup: use QOM casts fred.konrad
2013-04-09 12:53 ` [Qemu-devel] [PATCH v6 7/7] virtio-serial: cleanup: remove qdev field fred.konrad
2013-04-09 14:53 ` [Qemu-devel] [PATCH v6 0/7] virtio-serial refactoring Peter Maydell
2013-04-09 15:05   ` KONRAD Frédéric
2013-04-09 15:07   ` Anthony Liguori
2013-04-09 15:20     ` Peter Maydell
2013-04-10 10:34 ` Amit Shah
2013-04-15 21:10 ` Anthony Liguori

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).