[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu qmp [info usb] and [info hostusb]
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] qemu qmp [info usb] and [info hostusb] |
Date: |
Mon, 14 Jul 2014 09:13:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Pascal Heinrich <address@hidden> writes:
> Hi,
>
> I am trying to implement a qtprogram to bind and unbind usb devices from
> an qemu instance.
>
> Via device_add I am able to bind a device to the vm but there is no
> command in qmp to list binded devices or I do not find them.
>
> I am searching for something like >"query-usb"<
>
> Is there something implemented like that?
In the human monitor, there's "info qtree", but programs really should
use QMP. It provides qom-list and qom-get, but that's rather low level.
Andreas, any further advice?