[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 00/14]: Initial QObject conversion
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] [PATCH v1 00/14]: Initial QObject conversion |
Date: |
Thu, 1 Oct 2009 12:50:31 -0300 |
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(-)
- [Qemu-devel] [PATCH v1 00/14]: Initial QObject conversion,
Luiz Capitulino <=
- [Qemu-devel] [PATCH 01/14] QObject: Accept NULL, Luiz Capitulino, 2009/10/01
- [Qemu-devel] [PATCH 02/14] Introduce monitor-error module, Luiz Capitulino, 2009/10/01
- [Qemu-devel] [PATCH 03/14] monitor: Add new members to mon_cmd_t, Luiz Capitulino, 2009/10/01
- [Qemu-devel] [PATCH 04/14] monitor: Handle new and old style handlers, Luiz Capitulino, 2009/10/01
- [Qemu-devel] [PATCH 06/14] monitor: do_info(): handle new and old info handlers, Luiz Capitulino, 2009/10/01
- [Qemu-devel] [PATCH 05/14] monitor: Initial MonitorError usage, Luiz Capitulino, 2009/10/01
- [Qemu-devel] [PATCH 07/14] monitor: Convert do_quit() do QObject, Luiz Capitulino, 2009/10/01
- [Qemu-devel] [PATCH 08/14] monitor: Convert do_stop() to QObject, Luiz Capitulino, 2009/10/01
- [Qemu-devel] [PATCH 09/14] monitor: Convert do_system_reset() to QObject, Luiz Capitulino, 2009/10/01
- [Qemu-devel] [PATCH 10/14] monitor: Convert do_system_powerdown() to QObject, Luiz Capitulino, 2009/10/01