From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MtNw2-00079C-MU for qemu-devel@nongnu.org; Thu, 01 Oct 2009 11:51:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MtNvx-00070n-E3 for qemu-devel@nongnu.org; Thu, 01 Oct 2009 11:51:13 -0400 Received: from [199.232.76.173] (port=56544 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtNvx-00070Z-7U for qemu-devel@nongnu.org; Thu, 01 Oct 2009 11:51:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9497) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MtNvw-0003a2-CM for qemu-devel@nongnu.org; Thu, 01 Oct 2009 11:51:08 -0400 From: Luiz Capitulino Date: Thu, 1 Oct 2009 12:50:31 -0300 Message-Id: <1254412245-10452-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH v1 00/14]: Initial QObject conversion List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, avi@redhat.com Hi there, This series is an updated version of my initial QObject conversion series, which adds the needed infrastructure to incrementally support new style QObject handlers without breaking the current ones. Some people have suggested that we should have a better error handling in the Monitor, in the meaning that error information should be correctly propagated and handled in order to be used by the Monitor Protocol and the existing user protocol. This series introduces the MonitorError data type to solve that problem, it's used as part of the new infrastructure. Additionally the following handlers are converted: do_quit(), do_stop(), do_system_reset(), do_system_powerdown(), do_balloon(), do_info_version(), do_info_balloon(). I've done a full build of QEMU with this series applied on Fedora 11 x86_64 and Debian Lenny i386, also tested manually all converted commands plus some easy ones. Please, review this carefully as some design decisions made here will have impact in the Monitor Protocol. Changelog: V0 -> V1: - Introduced MonitorError - More handlers converted - Improved patches descriptions - Minor changes diffstat: Makefile | 2 +- monitor-error.c | 98 ++++++++ monitor-error.h | 67 +++++ monitor.c | 631 +++++++++++++++++++++++++++++++++++++++--------- qemu-monitor.hx | 714 +++++++++++++++++++++++++++++++++++++++++++++---------- qobject.h | 7 +- 6 files changed, 1273 insertions(+), 246 deletions(-)