Skip to content

add usb_detach and usb_attach (v3)

Alon Levy qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 17 repliesIn review

v2->v3 changes from the cover letter

* add configure parameter
* fix docs

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3qdev: make qdev_find_recursive publichw/qdev.c hw/qdev.h+2 -10 replies
2/3usb: add public usb_device_by_idhw/usb-bus.c hw/usb.h+17 -00 replies
3/3monitor: add usb_attach and usb_detach (v2)configure hmp-commands.hx sysemu.h +1 more+84 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGerd Hoffmann
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] add usb_detach and usb_attach (v3)

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(-)
Signature · 1 line
1.7.3.1