xen: add qdevs for each backend, correct pvUSB
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 2 repliesIn review
- v24 patches 5 repliesSuperseded
- v12 patches 10 repliesSuperseded
Changes in v3 from the cover letter
- removed two spurious changes in patch 3 as requested by Stefano
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | xen: add an own bus for xen backend deviceshw/ include/ | +20 | 0 replies | |
| 2/4 | qdev: add function qdev_set_id()include/ qdev-monitor.c | +21 | 1 reply | |
| 3/4 | xen: create qdev for each backend devicehw/ hw/ include/ +1 more | +55 | 1 reply | |
| 4/4 | xen: attach pvusb usb bus to backend qdevhw/ | +10 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Stefano Stabellini |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v3 0/4] xen: add qdevs for each backend, correct pvUSB
Trying to use pvUSB in a Xen guest with a qemu emulated USB controller will crash qemu as it tries to attach a pvUSB device to the emulated controller.
This can be avoided by adding a unique id to each pvUSB controller which can be used when attaching the pvUSB device. In order to make this possible the pvUSB controller has to be a hotpluggable qemu device.
This is achieved by adding a qdev for each Xen backend all attached to a new Xen specific bus.
Changes in V3:
- removed two spurious changes in patch 3 as requested by Stefano
Changes in V2:
- one qdev for each backend instead of pvUSB only
Juergen Gross (4):
xen: add an own bus for xen backend devices
qdev: add function qdev_set_id()
xen: create qdev for each backend device
xen: attach pvusb usb bus to backend qdev
hw/usb/xen-usb.c | 23 +++++++-------- hw/xen/xen_backend.c | 66 ++++++++++++++++++++++++++++++++++++++++++-- hw/xen/xen_pvdev.c | 4 ++- include/hw/xen/xen_backend.h | 8 ++++++ include/hw/xen/xen_pvdev.h | 1 + include/monitor/qdev.h | 1 + qdev-monitor.c | 36 +++++++++++++----------- 7 files changed, 106 insertions(+), 33 deletions(-)
Signature · 7 lines
2.10.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel