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
Cc: cornelia.huck@de.ibm.com, peter.maydell@linaro.org,
	mark.burton@greensocs.com, fred.konrad@greensocs.com
Subject: [Qemu-devel] [PATCH v4 0/7] virtio-serial refactoring.
Date: Fri, 29 Mar 2013 10:02:37 +0100	[thread overview]
Message-ID: <1364547764-6627-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-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.

You can checkout my branch here:

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

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

CHanges v3 -> v':
    * 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/s390x/s390-virtio-bus.c |  32 +++++----
 hw/s390x/s390-virtio-bus.h |  12 +++-
 hw/s390x/virtio-ccw.c      |  30 +++++----
 hw/s390x/virtio-ccw.h      |  12 +++-
 hw/virtio-pci.c            | 130 ++++++++++++++++++-------------------
 hw/virtio-pci.h            |  14 +++-
 hw/virtio-serial-bus.c     | 157 +++++++++++++++++++++++++++------------------
 hw/virtio-serial.h         |  13 +++-
 8 files changed, 240 insertions(+), 160 deletions(-)

-- 
1.7.11.7

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

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-29  9:02 fred.konrad [this message]
2013-03-29  9:02 ` [Qemu-devel] [PATCH v4 1/7] virtio-serial: add the virtio-serial device fred.konrad
2013-04-03  6:53   ` Cornelia Huck
2013-04-04 13:54     ` KONRAD Frédéric
2013-03-29  9:02 ` [Qemu-devel] [PATCH v4 2/7] virtio-serial-pci: switch to the new API fred.konrad
2013-04-03  9:18   ` Amit Shah
2013-04-03  9:25   ` Peter Maydell
2013-03-29  9:02 ` [Qemu-devel] [PATCH v4 3/7] virtio-serial-s390: " fred.konrad
2013-03-29  9:02 ` [Qemu-devel] [PATCH v4 4/7] virtio-serial-ccw: " fred.konrad
2013-03-29  9:02 ` [Qemu-devel] [PATCH v4 5/7] virtio-serial: cleanup: init and exit functions fred.konrad
2013-03-29  9:02 ` [Qemu-devel] [PATCH v4 6/7] virtio-serial: cleanup: use QOM casts fred.konrad
2013-03-29  9:02 ` [Qemu-devel] [PATCH v4 7/7] virtio-serial: cleanup: remove qdev field fred.konrad
2013-04-02 12:03 ` [Qemu-devel] [PATCH v4 0/7] virtio-serial refactoring Peter Maydell
2013-04-02 13:13 ` Anthony Liguori
2013-04-03  6:55 ` Cornelia Huck
2013-04-03  9:27 ` Amit Shah

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=1364547764-6627-1-git-send-email-fred.konrad@greensocs.com \
    --to=fred.konrad@greensocs.com \
    --cc=aliguori@us.ibm.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=mark.burton@greensocs.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).