hide struct start_info from PVH code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | suspend: drop crazy pfn handling for PVHarch/ | +0 | 1 reply | |
| 2/6 | setup: drop parameter from map_shared_info()arch/ arch/ hypervisor.c +1 more | +9 | 1 reply | |
| 3/6 | x86/pv: remove global start_infoarch/ console.c include/ +1 more | +5 | 1 reply | |
| 4/6 | console: drop parameter from get_console()arch/ arch/ console.c +1 more | +8 | 1 reply | |
| 5/6 | xenbus: drop parameter from get_xenbus()arch/ arch/ include/ +1 more | +9 | 1 reply | |
| 6/6 | x86/pv: make start_info_ptr PV-onlyarch/ | +11 | 1 reply |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Jason Andryuk |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [MINI-OS PATCH 0/6] hide struct start_info from PVH code
While working on xenstore-stubdom live update support I came across some really unpleasant code using struct start_info even when running in PVH mode.
Especially suspend/resume was doing some crazy stuff, including overwriting the initial struct hvm_start_info partially.
This series is hiding struct start_info from PVH code. This didn't result in any runtime error, but in future I'll need to access struct hvm_start_info some time after boot, so I need to get that fixed.
Tested especially with xl suspend/resume and xl save/restore in PV and in PVH mode.
Juergen Gross (6):
suspend: drop crazy pfn handling for PVH
setup: drop parameter from map_shared_info()
x86/pv: remove global start_info
console: drop parameter from get_console()
xenbus: drop parameter from get_xenbus()
x86/pv: make start_info_ptr PV-only
arch/arm/setup.c | 6 ++-- arch/x86/setup.c | 69 ++++++++++++-------------------------------- console.c | 10 +++---- hypervisor.c | 2 +- include/console.h | 2 +- include/hypervisor.h | 14 ++------- include/xenbus.h | 4 +-- xenbus.c | 13 ++++----- 8 files changed, 39 insertions(+), 81 deletions(-)
Signature · 1 line
2.43.0