[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH 0/5] plat/kvm: x86: Add support for initramdisks



Introduces support to locate a loaded initramdisk. For this purpose, we
introduce required platform API definitons. The idea is that an Unikraft
application finds an initramdisk by querying the memory regions. This is
similar to the detection of memory regions that can be used for the heap.
This series inplements initrd support for KVM on x86. 
Additionally, this series is reorganizing KVMs way to store detected
platform configuration during boot: Instead of having individual
platform-global variables (e.g., _libkvmplat_heap_start,
_libkvmplat_stack_top, _libkvmplat_mem_end), we introduce a single
platform-global configuration struct. This is done for readability
reasons.

Simon Kuenzer (5):
  include/essentials: Introduce range test macros
  include/plat: Add flags for initramdisk memory regions
  plat/kvm: Introduce platform configuration struct
  plat/kvm: Add initrd fields to configuration struct
  plat/kvm: x86: Retrieve initrd location from Multiboot

 include/uk/essentials.h       |  20 ++++
 include/uk/plat/memory.h      |  14 ++-
 plat/common/arm/pl011.c       |  15 +--
 plat/common/arm/time.c        |  13 ++-
 plat/kvm/arm/setup.c          |  67 +++++++++-----
 plat/kvm/include/kvm/config.h |  66 +++++++++++++
 plat/kvm/memory.c             |  49 +++++++---
 plat/kvm/x86/setup.c          | 169 +++++++++++++++++++++++++++++++---
 8 files changed, 346 insertions(+), 67 deletions(-)
 create mode 100644 plat/kvm/include/kvm/config.h

-- 
2.21.0


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.