acrn-hypervisor/hypervisor
Victor Sun 4c0965d89e HV: correct ept page array usage
Currently ept_pages_info[] is initialized with first element only that force
VM of id 0 using SOS EPT pages. This is incorrect for logical partition and
hybrid scenario. Considering SOS_RAM_SIZE and UOS_RAM_SIZE are configured
separately, we should use different ept pages accordingly.

So, the PRE_VM_NUM/SOS_VM_NUM and MAX_POST_VM_NUM macros are introduced to
resolve this issue. The macros would be generated by acrn-config tool when
user configure ACRN for their specific scenario.

One more thing, that when UOS_RAM_SIZE is less then 2GB, the EPT address
range should be (4G + PLATFORM_HI_MMIO_SIZE).

Tracked-On: #4458

Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2020-03-12 14:56:34 +08:00
..
acpi_parser hv:refine comment about intel integrated gpu dmar 2020-02-28 09:14:27 +08:00
arch/x86 HV: correct ept page array usage 2020-03-12 14:56:34 +08:00
boot hv: fixup relocation delta for symbols belong to entry section 2020-03-06 08:27:46 +08:00
bsp/ld hv: fixup relocation delta for symbols belong to entry section 2020-03-06 08:27:46 +08:00
common HV: init efi info with multiboot2 2020-02-26 09:24:16 +08:00
debug hv: pci: rename CFG read/write function for PCI-compatible Configuration Mechanism 2020-03-12 09:17:02 +08:00
dm hv: refine read/write configuration APIs for vmsi/vmsix 2020-03-12 10:40:02 +08:00
hw hv: pci: rename CFG read/write function for PCI-compatible Configuration Mechanism 2020-03-12 09:17:02 +08:00
include HV: correct ept page array usage 2020-03-12 14:56:34 +08:00
lib hv:tiny cleanup 2019-09-05 09:58:47 +08:00
pre_build hv: add static check for CONFIG_HV_RAM_START and CONFIG_HV_RAM_SIZE 2020-03-11 10:37:50 +08:00
release hv: pci: rename CFG read/write function for PCI-compatible Configuration Mechanism 2020-03-12 09:17:02 +08:00
scenarios HV: correct ept page array usage 2020-03-12 14:56:34 +08:00
scripts Makefile: move .mk file to hv scripts folder 2019-11-13 16:05:30 +08:00
Kconfig HV: config: add Kconfig and defconfigs for sbl & uefi 2018-06-08 17:21:13 +08:00
MAINTAINERS update home page information 2018-05-15 17:19:39 +08:00
Makefile hv: add SRIOV capability read/write entries 2020-02-28 14:04:01 +08:00
README.rst doc: fix utf-8 punctuation, branding, spelling 2019-03-14 09:13:58 -07:00

ACRN Hypervisor
###############

The open source `Project ACRN`_ defines a device hypervisor reference stack and
an architecture for running multiple software subsystems, managed securely, on
a consolidated system by means of a virtual machine manager. It also defines a
reference framework implementation for virtual device emulation, called the
"ACRN Device Model".

The ACRN Hypervisor is a Type 1 reference hypervisor stack, running directly on
the bare-metal hardware, and is suitable for a variety of IoT and embedded
device solutions. The ACRN hypervisor addresses the gap that currently exists
between datacenter hypervisors, and hard partitioning hypervisors. The ACRN
hypervisor architecture partitions the system into different functional
domains, with carefully selected guest OS sharing optimizations for IoT and
embedded devices.

You can find out more about Project ACRN on the `Project ACRN documentation`_
website.

.. _`Project ACRN`: https://projectacrn.org
.. _`ACRN Hypervisor`: https://github.com/projectacrn/acrn-hypervisor
.. _`Project ACRN documentation`: https://projectacrn.github.io/