Mini-OS in PVH mode is missing some features, especially in the areas
of ballooning and grant tables.
With this series I am able to run Xenstore stubdom in PVH mode.
Changes in V3:
- two minor fixes
Changes in V2:
- multiple comments addressed
Juergen Gross (10):
mini-os: split e820 map handling into new source file
mini-os: sort and sanitize e820 memory map
mini-os: don't assume contiguous RAM when initializing in PVH mode
mini-os: respect memory map when ballooning up
mini-os: don't repeat definition available via header file
mini-os: add memory map service functions
mini-os: move x86 specific gnttab coding into arch/x86/gnttab.c
mini-os: add proper pvh grant table handling
mini-os: prepare grantmap entry interface for use by PVH mode
mini-os: modify grant mappings to work in PVH mode
Makefile | 1 +
arch/arm/mm.c | 11 +-
arch/x86/balloon.c | 4 +-
arch/x86/gnttab.c | 109 +++++++++++++
arch/x86/mm.c | 121 +--------------
arch/x86/setup.c | 8 +-
balloon.c | 33 ++--
e820.c | 376 +++++++++++++++++++++++++++++++++++++++++++++
gntmap.c | 125 +++++++++------
include/balloon.h | 5 +-
include/e820.h | 11 ++
include/gntmap.h | 1 +
mm.c | 7 +-
13 files changed, 615 insertions(+), 197 deletions(-)
create mode 100644 arch/x86/gnttab.c
create mode 100644 e820.c
--
2.26.2