Message ID | 1261861899-1984-2-git-send-email-nathan@parenthephobia.org.uk |
---|---|
State | New |
Headers | show |
diff --git a/hw/qdev.h b/hw/qdev.h index bbcdba1..93467a5 100644 --- a/hw/qdev.h +++ b/hw/qdev.h @@ -43,10 +43,12 @@ struct DeviceState { }; typedef void (*bus_dev_printfn)(Monitor *mon, DeviceState *dev, int indent); +typedef QObject *(*bus_dev_infofn)(Monitor *mon, DeviceState *dev); struct BusInfo { const char *name; size_t size; bus_dev_printfn print_dev; + bus_dev_infofn info_dev; Property *props; };
This function will be called to produce bus-specific data for QMP's query-qtree command. Signed-off-by: Nathan Baum <nathan@parenthephobia.org.uk> --- hw/qdev.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)