From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN49P-0001eP-GO for qemu-devel@nongnu.org; Mon, 10 Mar 2014 13:38:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WN49K-0006z0-Jz for qemu-devel@nongnu.org; Mon, 10 Mar 2014 13:38:07 -0400 Received: from cantor2.suse.de ([195.135.220.15]:56975 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN49K-0006xR-EK for qemu-devel@nongnu.org; Mon, 10 Mar 2014 13:38:02 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Mon, 10 Mar 2014 18:37:57 +0100 Message-Id: <1394473079-17911-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v3 0/2] QOM realize for virtio-console List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , Anthony Liguori , Amit Shah , Paolo Bonzini , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Frederic Konrad Hello, This series converts VirtIOSerialPort to QOM realize/unrealize. v3 minimizes changes by adopting Anthony's new scheme of just replacing f= ields, as done for VirtioDevices already. I have simple qtests for virtio-serial-bus and virtio-console on a differ= ent 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-orde= r. * Rebased on Paolo's version of virtio QOM realize conversion - no change= s. v1 -> v2: * Split off virtserialport fix for 1.6. * Split off from main virtio realization series. * Split out cleanups (mst). Cc: Amit Shah Cc: Michael S. Tsirkin Cc: Paolo Bonzini Cc: Anthony Liguori Cc: Frederic Konrad Andreas F=C3=A4rber (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(-) --=20 1.8.4.5