RFC xen: arm: support for save restore and dead migration
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest14 patches 33 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | xen: arm: Add gic_hw_descxen/ xen/ | +15 | 4 replies | |
| 2/14 | xen: arm: Provide a mechanism to read (and decode) an LR from a saved VCPUxen/ xen/ xen/ +1 more | +44 | 1 reply | |
| 3/14 | xen: arm: switch arch_do_domctl to a common exit pathxen/ | +51 | 4 replies | |
| 4/14 | xen: arm: Implement XEN_DOMCTL_getpageframeinfo3.xen/ | +49 | 1 reply | |
| 5/14 | xen: arm: Implement basic XEN_DOMCTL_{set, get}hvmcontext supportxen/ xen/ xen/ +3 more | +172 | 2 replies | |
| 6/14 | xen: arm: Add some basic platform info to save headerxen/ xen/ | +50 | 2 replies | |
| 7/14 | xen: arm: Save and restore basic per-VCPU state.xen/ xen/ | +204 | 2 replies | |
| 8/14 | xen: arm: Save and restore arch timer state.xen/ xen/ | +86 | 6 replies | |
| 9/14 | xen: arm: Save and restore GIC state.xen/ xen/ xen/ +3 more | +353 | 3 replies | |
| 10/14 | tools: Switch a few CONFIG_MIGRATE features to CONFIG_X86tools/ tools/ | +2 | 1 reply | |
| 11/14 | tools: migrate: refactor selection of save/restore ops to be arch specifictools/ tools/ tools/ +1 more | +47 | 2 replies | |
| 12/14 | tools: libxc: implement modify_returncode for ARM.tools/ | +18 | 2 replies | |
| 13/14 | tools: libxc: wire up migration for ARMconfig/ config/ tools/ +5 more | +469 | 1 reply | |
| 14/14 | tools/libxl: BODGE ARM save/restore and (dead) migration.tools/ tools/ | +9 | 0 replies |
Reviews trailers per patch
3 of 14 patches have a Reviewed-by or Acked-by.
| Patch | Stefano Stabellini |
|---|---|
| 1/14 | A-b |
| 2/14 | A-b |
| 3/14 | |
| 4/14 | A-b |
| 5/14 | |
| 6/14 | |
| 7/14 | |
| 8/14 | |
| 9/14 | |
| 10/14 | |
| 11/14 | |
| 12/14 | |
| 13/14 | |
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH RFC v1 00/14] xen: arm: support for save restore and dead migration
For arm32 + gicv2 systems the following supports apparently successful save/restore as well dead migrate a domain.
There are several caveats/blockers, hence RFC.
* GIC v2 support only, no GIC v3 at all
* ARM32 only. Doesn't even build for ARM64 (vfp state handling needs adjustment)
* No live migration, only "dead" (no logdirty support yet)
* Have not fully audited the set of state which needs to be saved (i.e. I might have missed some registers or something)
On the flip side, thanks to migration v2 the toolstack side of this practically trivial.
This is (of course) using the current Xen hvm blob handling strata, which I believe there are plans afoot to rework along the lines of the libxc/libxl migration v2 protocol.
For now I have no problem waiting and reworking in that vein as things progress, clearly the blockers/caveats (logdirty support in particular) are going to take some time to sort out.
This is all based (very distantly) on some original patches from Evgeny Fedotov and Junghyun Yoo (both of Samsung) however very little of that code remains here.
As well as the Xen series there will be a single Linux patch too, I'll only CC ARM folks on that one.
Ian.