[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu qmp [info usb] and [info hostusb]
From: |
Gonglei (Arei) |
Subject: |
Re: [Qemu-devel] qemu qmp [info usb] and [info hostusb] |
Date: |
Sat, 12 Jul 2014 01:14:41 +0000 |
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of Pascal Heinrich
> Sent: Saturday, July 12, 2014 5:52 AM
> To: address@hidden
> Subject: [Qemu-devel] qemu qmp [info usb] and [info hostusb]
>
> 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?
>
AFAICT, there is nothing batch interface like that, not just usb device,
but pci or all other devices.
BTW, I don't think this kind of interface is a good idea. Because the error
process logic is troubled, about failure and revert.
Best regards,
-Gonglei