Gerd Hoffmann writes:
> On 01/18/10 11:15, Markus Armbruster wrote:
>> Nathan Baum writes:
>>
> +static QObject *usb_bus_dev_info(Monitor *mon, DeviceState *qdev)
> +{
> +USBDevice *dev = DO_UPCAST(USBDevice, qdev, qdev);
> +USBBus *bus = usb_bus_from_device(dev);
> +
On 01/18/10 11:15, Markus Armbruster wrote:
Nathan Baum writes:
+static QObject *usb_bus_dev_info(Monitor *mon, DeviceState *qdev)
+{
+USBDevice *dev = DO_UPCAST(USBDevice, qdev, qdev);
+USBBus *bus = usb_bus_from_device(dev);
+return qobject_from_jsonf("{'busnr': %d, 'addr':%d, 's
Nathan Baum writes:
> On Fri, 2010-01-15 at 19:14 +0100, Markus Armbruster wrote:
>> Nathan Baum writes:
>>
>> > Returns a QObject with information about a USB device.
>> >
>> > Signed-off-by: Nathan Baum
>> > ---
>> > hw/usb-bus.c | 13 +
>> > 1 files changed, 13 insertions(+),
On Fri, 2010-01-15 at 19:14 +0100, Markus Armbruster wrote:
> Nathan Baum writes:
>
> > Returns a QObject with information about a USB device.
> >
> > Signed-off-by: Nathan Baum
> > ---
> > hw/usb-bus.c | 13 +
> > 1 files changed, 13 insertions(+), 0 deletions(-)
> >
> > diff --g
Nathan Baum writes:
> Returns a QObject with information about a USB device.
>
> Signed-off-by: Nathan Baum
> ---
> hw/usb-bus.c | 13 +
> 1 files changed, 13 insertions(+), 0 deletions(-)
>
> diff --git a/hw/usb-bus.c b/hw/usb-bus.c
> index 54027df..6d02807 100644
> --- a/hw/usb-
Returns a QObject with information about a USB device.
Signed-off-by: Nathan Baum
---
hw/usb-bus.c | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/hw/usb-bus.c b/hw/usb-bus.c
index 54027df..6d02807 100644
--- a/hw/usb-bus.c
+++ b/hw/usb-bus.c
@@ -3,6 +3,7 @@