Xen PV backend 'qdevification'
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v9 Latest18 patches 4 repliesIn review
- v818 patches 0 repliesSuperseded
- v718 patches 22 repliesSuperseded
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 18 patches | 9 replies | Superseded | |
| v5 | 18 patches | 2 replies | Superseded | |
| v4 | 18 patches | 8 replies | Superseded | |
| v3 | 18 patches | 9 replies | Superseded | |
| v2 | 18 patches | 33 replies | Superseded | |
| v1 | 18 patches | 92 replies | Superseded |
Changes in v9 from the cover letter
- Updated patch #16 again
Patches in v9 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | xen: re-name XenDevice to XenLegacyDevice...hw/ hw/ hw/ +19 more | +169 | 0 replies | |
| 2/18 | xen: introduce new 'XenBus' and 'XenDevice' object hierarchyhw/ hw/ hw/ +3 more | +195 | 0 replies | |
| 3/18 | xen: introduce 'xen-block', 'xen-disk' and 'xen-cdrom'MAINTAINERS hw/ hw/ +2 more | +426 | 0 replies | |
| 4/18 | xen: create xenstore areas for XenDevice-shw/ hw/ hw/ +4 more | +540 | 0 replies | |
| 5/18 | xen: add xenstore watcher infrastructurehw/ hw/ hw/ +4 more | +342 | 0 replies | |
| 6/18 | xen: add grant table interface for XenDevice-shw/ include/ | +171 | 0 replies | |
| 7/18 | xen: add event channel interface for XenDevice-shw/ include/ | +119 | 0 replies | |
| 8/18 | xen: duplicate xen_disk.c as basis of dataplane/xen-block.cMAINTAINERS hw/ | +1020 | 0 replies | |
| 9/18 | xen: remove unnecessary code from dataplane/xen-block.chw/ | +23 | 0 replies | |
| 10/18 | xen: add header and build dataplane/xen-block.cMAINTAINERS hw/ hw/ +1 more | +287 | 0 replies | |
| 11/18 | xen: remove 'XenBlkDev' and 'blkdev' names from dataplane/xen-blockhw/ hw/ | +183 | 0 replies | |
| 12/18 | xen: remove 'ioreq' struct/varable/field names from dataplane/xen-block.chw/ | +156 | 0 replies | |
| 13/18 | xen: purge 'blk' and 'ioreq' from function names in dataplane/xen-block.chw/ | +46 | 0 replies | |
| 14/18 | xen: add implementations of xen-block connect and disconnect functions...hw/ hw/ hw/ +2 more | +353 | 0 replies | |
| 15/18 | xen: add a mechanism to automatically create XenDevice-s...hw/ hw/ hw/ +4 more | +375 | 0 replies | |
| 16/18 | xen: automatically create XenBlockDevice-shw/ hw/ hw/ +1 more | +390 | 4 replies | |
| 17/18 | MAINTAINERS: add myself as a Xen maintainerMAINTAINERS | +1 | 0 replies | |
| 18/18 | xen: remove the legacy 'xen_disk' backendhw/ hw/ | +0 | 0 replies |
Reviews trailers per patch
All 18 patches have a Reviewed-by or Acked-by.
| Patch | Anthony Perard | Stefano Stabellini |
|---|---|---|
| 1/18 | A-b | |
| 2/18 | R-b | |
| 3/18 | R-b | |
| 4/18 | R-b | |
| 5/18 | R-b | |
| 6/18 | R-b | |
| 7/18 | R-b | |
| 8/18 | A-b | |
| 9/18 | A-b | |
| 10/18 | R-b | |
| 11/18 | A-b | |
| 12/18 | A-b | |
| 13/18 | A-b | |
| 14/18 | R-b | |
| 15/18 | R-b | |
| 16/18 | R-b R-b | |
| 17/18 | A-b | A-b |
| 18/18 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v9 00/18] Xen PV backend 'qdevification'
This series introduces a new QOM compliant framework for Xen PV backends. This is achieved by first moving the current non-compliant framework aside, before building up a new framework incrementally.
This series was prompted by a thread [1] started by Kevin Wolf in response to patches against xen_disk.c posted by Tim Smith. Therefore, alongside the patches introducing the new framework, other patches build up a QOM compliant replacement for 'xen_disk', called 'xen-qdisk'. Patch #16 swaps this new device into place (having establisheda mechanism to auto- instantiate devices that is compliant with existing Xen toolstacks in patch #15) and patch #18 then removes the old xen_disk code.
Subsequent series will port other Xen PV backends across to the new framework.
The series is also available as a repository branch [2] on xenbits.xen.org.
[1] https://lists.gnu.org/archive/html/qemu-devel/2018-11/msg00259.html
[2] http://xenbits.xen.org/gitweb/?p=people/pauldu/qemu.git;a=shortlog;h=refs/heads/qom34
Paul Durrant (18):
xen: re-name XenDevice to XenLegacyDevice...
xen: introduce new 'XenBus' and 'XenDevice' object hierarchy
xen: introduce 'xen-block', 'xen-disk' and 'xen-cdrom'
xen: create xenstore areas for XenDevice-s
xen: add xenstore watcher infrastructure
xen: add grant table interface for XenDevice-s
xen: add event channel interface for XenDevice-s
xen: duplicate xen_disk.c as basis of dataplane/xen-block.c
xen: remove unnecessary code from dataplane/xen-block.c
xen: add header and build dataplane/xen-block.c
xen: remove 'XenBlkDev' and 'blkdev' names from dataplane/xen-block
xen: remove 'ioreq' struct/varable/field names from
dataplane/xen-block.c
xen: purge 'blk' and 'ioreq' from function names in
dataplane/xen-block.c
xen: add implementations of xen-block connect and disconnect
functions...
xen: add a mechanism to automatically create XenDevice-s...
xen: automatically create XenBlockDevice-s
MAINTAINERS: add myself as a Xen maintainer
xen: remove the legacy 'xen_disk' backend
MAINTAINERS | 5 +-
hw/9pfs/xen-9p-backend.c | 16 +-
hw/block/Makefile.objs | 2 +-
hw/block/dataplane/Makefile.objs | 1 +
hw/block/dataplane/xen-block.c | 808 +++++++++++
hw/block/dataplane/xen-block.h | 29 +
hw/block/trace-events | 14 +
hw/block/xen-block.c | 962 +++++++++++++
hw/block/xen_disk.c | 1011 --------------
hw/char/xen_console.c | 12 +-
hw/display/xenfb.c | 25 +-
hw/i386/xen/xen-hvm.c | 5 +-
hw/i386/xen/xen-mapcache.c | 2 +-
hw/i386/xen/xen_platform.c | 2 +-
hw/net/xen_nic.c | 14 +-
hw/usb/xen-usb.c | 25 +-
hw/xen/Makefile.objs | 2 +-
hw/xen/trace-events | 26 +
hw/xen/xen-backend.c | 165 +++
hw/xen/xen-bus-helper.c | 184 +++
hw/xen/xen-bus.c | 1197 +++++++++++++++++
hw/xen/xen-common.c | 2 +-
.../{xen_backend.c => xen-legacy-backend.c} | 80 +-
hw/xen/xen_devconfig.c | 2 +-
hw/xen/xen_pt.c | 2 +-
hw/xen/xen_pt_config_init.c | 2 +-
hw/xen/xen_pt_graphics.c | 2 +-
hw/xen/xen_pt_msi.c | 2 +-
hw/xen/xen_pvdev.c | 20 +-
hw/xenpv/xen_domainbuild.c | 2 +-
hw/xenpv/xen_machine_pv.c | 5 +-
include/hw/xen/xen-backend.h | 39 +
include/hw/xen/xen-block.h | 94 ++
include/hw/xen/xen-bus-helper.h | 45 +
include/hw/xen/xen-bus.h | 138 ++
.../{xen_backend.h => xen-legacy-backend.h} | 43 +-
include/hw/xen/xen_pvdev.h | 38 +-
include/qemu/module.h | 3 +
38 files changed, 3873 insertions(+), 1153 deletions(-)
create mode 100644 hw/block/dataplane/xen-block.c
create mode 100644 hw/block/dataplane/xen-block.h
create mode 100644 hw/block/xen-block.c
delete mode 100644 hw/block/xen_disk.c
create mode 100644 hw/xen/xen-backend.c
create mode 100644 hw/xen/xen-bus-helper.c
create mode 100644 hw/xen/xen-bus.c
rename hw/xen/{xen_backend.c => xen-legacy-backend.c} (89%)
create mode 100644 include/hw/xen/xen-backend.h
create mode 100644 include/hw/xen/xen-block.h
create mode 100644 include/hw/xen/xen-bus-helper.h
create mode 100644 include/hw/xen/xen-bus.h
rename include/hw/xen/{xen_backend.h => xen-legacy-backend.h} (61%)---
Cc: Anthony Perard <[email protected]>
Cc: Eduardo Habkost <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Greg Kurz <[email protected]>
Cc: Jason Wang <[email protected]>
Cc: Kevin Wolf <[email protected]>
Cc: "Marc-André Lureau" <[email protected]>
Cc: Marcel Apfelbaum <[email protected]>
Cc: Max Reitz <[email protected]>
Cc: "Michael S. Tsirkin" <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Richard Henderson <[email protected]>
Cc: Stefan Hajnoczi <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Tim Smith <[email protected]>
v9:
- Updated patch #16 again
v8:
- Updated patch #16 again
v7:
- Updated patch #16
v6:
- Fix boilerplate in patch #9 again
- Move to newer version of git
v5:
- Re-worked backend auto-creation
v4:
- Add missing boilerplate fix
v3:
- Various fixes, including unplug
v2:
- Fix boilerplates of introduced files and leave existing ones alone
Signature · 7 lines
2.20.1.2.gb21ebb6 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel