add usb_detach and usb_attach (v2)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | qdev: make qdev_find_recursive publichw/ hw/ | +2 | 0 replies | |
| 2/3 | usb: add public usb_device_by_idhw/ hw/ | +17 | 3 replies | |
| 3/3 | monitor: add usb_attach and usb_detachhmp-commands.hx sysemu.h vl.c | +67 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/3] add usb_detach and usb_attach (v2)
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
hmp-commands.hx | 34 ++++++++++++++++++++++++++++++++++ hw/qdev.c | 2 +- hw/qdev.h | 1 + hw/usb-bus.c | 16 ++++++++++++++++ hw/usb.h | 1 + sysemu.h | 2 ++ vl.c | 31 +++++++++++++++++++++++++++++++ 7 files changed, 86 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.3.1