qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v3 0/2] QOM realize for virtio-console


From: Andreas Färber
Subject: [Qemu-devel] [PATCH v3 0/2] QOM realize for virtio-console
Date: Mon, 10 Mar 2014 18:37:57 +0100

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 <address@hidden>
Cc: Michael S. Tsirkin <address@hidden>
Cc: Paolo Bonzini <address@hidden>
Cc: Anthony Liguori <address@hidden>
Cc: Frederic Konrad <address@hidden>

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 via email to

[Prev in Thread] Current Thread [Next in Thread]