Skip to content

use qdev for -usbdevice

Gerd Hoffmann qemu-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 0 repliesNew
  2. v15 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7usb core: use qdev for -usbdevicehw/qdev.c hw/qdev.h hw/usb-bus.c +2 more+59 -10 replies
2/7usb-hid: use qdev for -usbdevicehw/usb-hid.c hw/usb-wacom.c vl.c+4 -290 replies
3/7usb-serial and braille: use qdev for -usbdevicehw/baum.c hw/baum.h hw/usb-serial.c +2 more+65 -380 replies
4/7usb: make attach optional.hw/usb-bus.c hw/usb.h+3 -10 replies
5/7usb-storage: use qdev for -usbdevicehw/usb-msd.c hw/usb.h vl.c+25 -370 replies
6/7usb-host: use qdev for -usbdevice + rework.usb-linux.c+144 -2660 replies
7/7usb: print attached status in info qtreehw/usb-bus.c+4 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/7] use qdev for -usbdevice

Hi,

This patch series changes the way the -usbdevice switch (and the usb_add monitor command) is handled. Instead of hard-coding stuff in vl.c it is integrated with qdev by adding new fields to USBDeviceInfo. First patch adds the infrastructure. Follwing patches switch over the usb drivers to the new way of handling things. Not converted (yet) are:

* bt: bluetooth is not qdev-ified at all, needs investigation.
* net: too many net patches in flight right now.

New in v2:
- also convert host usb pass through.
- bugfix in auto attach opt-out patch.

cheers,
Gerd