v2->v3 changes: * add configure parameter * fix docs v2 message: This patchset uses id like device_del for attaching/detaching usb devices. The first two patches ready the way: 1. makes qdev_find_recursive non static and in qdev.h 2. adds a usb_device_by_id which goes over the usb buses calling qdev_find_recursive 3. adds the commands that use usb_device_by_id
Alon Levy (3): qdev: make qdev_find_recursive public usb: add public usb_device_by_id monitor: add usb_attach and usb_detach (v2) configure | 9 +++++++++ hmp-commands.hx | 38 ++++++++++++++++++++++++++++++++++++++ hw/qdev.c | 2 +- hw/qdev.h | 1 + hw/usb-bus.c | 16 ++++++++++++++++ hw/usb.h | 1 + sysemu.h | 4 ++++ vl.c | 33 +++++++++++++++++++++++++++++++++ 8 files changed, 103 insertions(+), 1 deletions(-) -- 1.7.3.1