qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC,PATCH 00/11] Half-convert info qtree to QMP.


From: Markus Armbruster
Subject: Re: [Qemu-devel] [RFC,PATCH 00/11] Half-convert info qtree to QMP.
Date: Fri, 15 Jan 2010 19:31:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Nathan Baum <address@hidden> writes:

> Hullo.
>
> This series of patches partially converts info qtree to QMP.
>
> I've gone halfway: one can use query-qtree in QMP.
>
> I haven't converted the old monitor function other than to rename it;
> do_info_qtree_print just ignores the QObject it is passed and prints
> the qtree the old-fashioned way.
>
>  hw/isa-bus.c |   19 +++++++++++++
>  hw/pci.c     |   50 +++++++++++++++++++++++++++++++++++
>  hw/qdev.c    |   82 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
>  hw/qdev.h    |    5 +++-
>  hw/sysbus.c  |   20 ++++++++++++++
>  hw/usb-bus.c |   15 ++++++++++
>  monitor.c    |    3 +-
>  7 files changed, 191 insertions(+), 3 deletions(-)

Patch 2 adds a static function, patch 3 puts it to use.  Not bisectable
with -Werror.  Merge the two.  Same for patch 4+5, 6+7, 8+9, 10+11.

Completing the job shouldn't be hard, just change the print_dev methods
to format the value returned by the info_dev method instead of getting
the information out of the device.

Thanks!




reply via email to

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