]> git.proxmox.com Git - qemu-server.git/commit
get usbdevices in vm_devices_list
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 14 Jun 2016 08:50:38 +0000 (10:50 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 22 Jun 2016 07:13:16 +0000 (09:13 +0200)
commitdeb091c5002304ebf8f5d8e5297b99dfb0f5a570
tree44bf941a33401f2589bf07ce6e93286a0bbd32eb
parentd40e5e1852b76c17112f93205aa2ad38a822cfd7
get usbdevices in vm_devices_list

since usb devices do not have their own
"query" command in qmp, we have to use
qom-list /machines/peripheral

which essentially gets a list of peripheral devices of
the vm

there we only get the usb devices

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/QemuServer.pm