qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] QOM realize for virtio-console
@ 2014-03-10 17:37 Andreas Färber
  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
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas Färber @ 2014-03-10 17:37 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Anthony Liguori, Amit Shah, Paolo Bonzini,
	Andreas Färber, Frederic Konrad

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

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

end of thread, other threads:[~2014-03-12 19:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-10 17:37 [Qemu-devel] [PATCH v3 0/2] QOM realize for virtio-console Andreas Färber
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

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