[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 11/11] Change the monitor to use the new do_info
From: |
Luiz Capitulino |
Subject: |
Re: [Qemu-devel] [PATCH 11/11] Change the monitor to use the new do_info_qtree. |
Date: |
Tue, 29 Dec 2009 15:15:08 -0200 |
On Sat, 26 Dec 2009 21:19:22 +0000
Nathan Baum <address@hidden> wrote:
> Signed-off-by: Nathan Baum <address@hidden>
> ---
> hw/qdev.c | 9 ++++++++-
> hw/qdev.h | 3 ++-
> monitor.c | 3 ++-
> 3 files changed, 12 insertions(+), 3 deletions(-)
>
> diff --git a/hw/qdev.c b/hw/qdev.c
> index f5d68c6..d9d3778 100644
> --- a/hw/qdev.c
> +++ b/hw/qdev.c
> @@ -727,6 +727,12 @@ static void do_info_qbus(Monitor *mon, BusState *bus,
> QObject **ret_data)
> *ret_data = (QObject *) qdict;
> }
>
> +void do_info_qtree(Monitor *mon, QObject **ret_data)
> +{
> + if (main_system_bus)
> + do_info_qbus(mon, main_system_bus, ret_data);
> +}
> +
What I'm missing here is a high-level documentation of the
data type you're building.
- [Qemu-devel] [PATCH 07/11] qdev: Add sysbus_dev_info to system_bus_info, (continued)
- [Qemu-devel] [PATCH 07/11] qdev: Add sysbus_dev_info to system_bus_info, Nathan Baum, 2009/12/26
- [Qemu-devel] [PATCH 08/11] qdev: Add usb_bus_dev_info, Nathan Baum, 2009/12/26
- [Qemu-devel] [PATCH 04/11] qdev: pcibus_dev_info, Nathan Baum, 2009/12/26
- [Qemu-devel] [PATCH 10/11] qdev: Add do_info_qbus and friends., Nathan Baum, 2009/12/26
- [Qemu-devel] [PATCH 11/11] Change the monitor to use the new do_info_qtree., Nathan Baum, 2009/12/26
- Re: [Qemu-devel] [PATCH 11/11] Change the monitor to use the new do_info_qtree.,
Luiz Capitulino <=
- [Qemu-devel] [PATCH 09/11] qdev: Add usb_bus_dev_info to usb_bus_info., Nathan Baum, 2009/12/26
- Re: [Qemu-devel] [RFC,PATCH 00/11] Half-convert info qtree to QMP., Luiz Capitulino, 2009/12/29
- [Qemu-devel] [RFC,PATCH 00/11] Half-convert info qtree to QMP., Nathan Baum, 2009/12/26
- [Qemu-devel] [RFC, PATCH 02/11] qdev: isabus_dev_info returns a QObject detailing the IRQ lines used by the device., Nathan Baum, 2009/12/26
- [Qemu-devel] [RFC, PATCH 05/11] qdev: Add pcibus_dev_info to pci_bus_info, Nathan Baum, 2009/12/26
- [Qemu-devel] [RFC,PATCH 04/11] qdev: pcibus_dev_info, Nathan Baum, 2009/12/26
- [Qemu-devel] [RFC,PATCH 10/11] qdev: Add do_info_qbus and friends., Nathan Baum, 2009/12/26
- [Qemu-devel] [RFC,PATCH 08/11] qdev: Add usb_bus_dev_info, Nathan Baum, 2009/12/26