qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: qemu-devel@nongnu.org
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
	"Anthony Liguori" <anthony@codemonkey.ws>,
	"Amit Shah" <amit.shah@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Andreas Färber" <afaerber@suse.de>,
	"Frederic Konrad" <fred.konrad@greensocs.com>
Subject: [Qemu-devel] [PATCH v3 0/2] QOM realize for virtio-console
Date: Mon, 10 Mar 2014 18:37:57 +0100	[thread overview]
Message-ID: <1394473079-17911-1-git-send-email-afaerber@suse.de> (raw)

Hello,

This series converts VirtIOSerialPort to QOM realize/unrealize.

v3 minimizes changes by adopting Anthony's new scheme of just replacing fields,
as done for VirtioDevices already.

I have simple qtests for virtio-serial-bus and virtio-console on a different branch
that I'll submit shortly, with the intent of queuing first the tests and then
these leftover conversions on qom-next.

Available from:
https://github.com/afaerber/qemu-cpu/commits/realize-virtio-console.v3
git://github.com/afaerber/qemu-cpu.git realize-virtio-console.v3

Regards,
Andreas

v2 -> v3:
* Revert changes to just change init/exit signature to realize/unrealize,
  leave the base class in control over realize/unrealize and call in-order.
* Rebased on Paolo's version of virtio QOM realize conversion - no changes.

v1 -> v2:
* Split off virtserialport fix for 1.6.
* Split off from main virtio realization series.
* Split out cleanups (mst).

Cc: Amit Shah <amit.shah@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Anthony Liguori <anthony@codemonkey.ws>
Cc: Frederic Konrad <fred.konrad@greensocs.com>

Andreas Färber (2):
  virtio-console: QOM cast cleanup for VirtConsole
  virtio-serial-port: Convert to QOM realize/unrealize

 hw/char/virtio-console.c          | 57 +++++++++++++++++++++------------------
 hw/char/virtio-serial-bus.c       | 52 ++++++++++++++++++-----------------
 include/hw/virtio/virtio-serial.h | 14 +++++-----
 3 files changed, 65 insertions(+), 58 deletions(-)

-- 
1.8.4.5

             reply	other threads:[~2014-03-10 17:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-10 17:37 Andreas Färber [this message]
2014-03-10 17:37 ` [Qemu-devel] [PATCH v3 1/2] virtio-console: QOM cast cleanup for VirtConsole Andreas Färber
2014-03-10 17:37 ` [Qemu-devel] [PATCH v3 2/2] virtio-serial-port: Convert to QOM realize/unrealize Andreas Färber
2014-03-12 12:41   ` Amit Shah
2014-03-12 19:03     ` Andreas Färber

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=1394473079-17911-1-git-send-email-afaerber@suse.de \
    --to=afaerber@suse.de \
    --cc=amit.shah@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=fred.konrad@greensocs.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --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).