qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Luiz Capitulino <lcapitulino@redhat.com>
Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH v1 00/14]: Initial QObject conversion
Date: Thu, 01 Oct 2009 18:01:20 +0200	[thread overview]
Message-ID: <4AC4D250.3060903@redhat.com> (raw)
In-Reply-To: <1254412245-10452-1-git-send-email-lcapitulino@redhat.com>

On 10/01/2009 05:50 PM, Luiz Capitulino wrote:
>   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.
>
>    

Looks good to me.

Regarding info, I think the machine protocol should manage it as 
separate commands ("info-cpus" instead of "info"("cpus")).  Having a 
function which returns wildly different return types (a string for 
version, a device tree for qdev) is unwieldy.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

  parent reply	other threads:[~2009-10-01 16:01 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-01 15:50 [Qemu-devel] [PATCH v1 00/14]: Initial QObject conversion Luiz Capitulino
2009-10-01 15:50 ` [Qemu-devel] [PATCH 01/14] QObject: Accept NULL Luiz Capitulino
2009-10-01 15:50 ` [Qemu-devel] [PATCH 02/14] Introduce monitor-error module Luiz Capitulino
2009-10-01 15:50 ` [Qemu-devel] [PATCH 03/14] monitor: Add new members to mon_cmd_t Luiz Capitulino
2009-10-01 15:50 ` [Qemu-devel] [PATCH 04/14] monitor: Handle new and old style handlers Luiz Capitulino
2009-10-01 15:50 ` [Qemu-devel] [PATCH 05/14] monitor: Initial MonitorError usage Luiz Capitulino
2009-10-01 15:50 ` [Qemu-devel] [PATCH 06/14] monitor: do_info(): handle new and old info handlers Luiz Capitulino
2009-10-01 15:50 ` [Qemu-devel] [PATCH 07/14] monitor: Convert do_quit() do QObject Luiz Capitulino
2009-10-01 15:50 ` [Qemu-devel] [PATCH 08/14] monitor: Convert do_stop() to QObject Luiz Capitulino
2009-10-01 15:50 ` [Qemu-devel] [PATCH 09/14] monitor: Convert do_system_reset() " Luiz Capitulino
2009-10-01 15:50 ` [Qemu-devel] [PATCH 10/14] monitor: Convert do_system_powerdown() " Luiz Capitulino
2009-10-01 15:50 ` [Qemu-devel] [PATCH 11/14] monitor: Convert do_balloon() " Luiz Capitulino
2009-10-01 15:50 ` [Qemu-devel] [PATCH 12/14] monitor: Convert do_info_version() " Luiz Capitulino
2009-10-01 15:50 ` [Qemu-devel] [PATCH 13/14] monitor-error: Add do_info_balloon() errors Luiz Capitulino
2009-10-01 15:50 ` [Qemu-devel] [PATCH 14/14] monitor: Convert do_info_balloon() to QObject Luiz Capitulino
2009-10-01 16:01 ` Avi Kivity [this message]
2009-10-01 21:21   ` [Qemu-devel] Re: [PATCH v1 00/14]: Initial QObject conversion Luiz Capitulino
2009-10-03  7:59     ` Avi Kivity
2009-10-05 13:16       ` Luiz Capitulino
2009-10-02 12:47 ` [Qemu-devel] " Gerd Hoffmann
2009-10-02 13:47   ` Luiz Capitulino
2009-10-02 14:17     ` Gerd Hoffmann
2009-10-02 14:55       ` Luiz Capitulino
2009-10-02 15:36         ` Gerd Hoffmann
2009-10-02 18:32           ` Luiz Capitulino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AC4D250.3060903@redhat.com \
    --to=avi@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=lcapitulino@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).