acrn-hypervisor/hypervisor
Zhou, Wu 3ba5b1522f hv: fix post RTVM booting failure with SSRAM
When booting prelaunch RTVM with SSRAM enabled, we need to delete the
SSRAM region that is used by prelaunch RTVM from Service VM EPT mapping.
If it is not used, or it is not fully used, the SSRAM or the rest SSRAM
should be in Service VM map.

But current code has a issue that it always deletes all SSRAM region
from Service VM EPT, even when no SSRAM is enabled for prelaunch RTVM.

This could cause the post RTVM with SSRAM boot failure, as DM checks and
removes SSRAM region from Service VM EPT during post RTVM setup.

Changing get_software_sram_size() to PRE_RTVM_SW_SRAM_MAX_SIZE could
solve the issue, as PRE_RTVM_SW_SRAM_MAX_SIZE is the SSRAM size that
prelaunch RTVM actually uses.

Tracked-On: #7401

Signed-off-by: Zhou, Wu <wu.zhou@intel.com>
2022-05-06 14:41:58 +08:00
..
acpi_parser Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
arch/x86 hv: fix post RTVM booting failure with SSRAM 2022-05-06 14:41:58 +08:00
boot hv: remove an unnecessary code line 2022-04-20 14:15:25 +08:00
bsp/ld HV: fix MISRA violation of _ld_ram_xxx 2021-11-26 16:45:17 +08:00
common hv: ptdev: address vector scalability problem by interrupt posting 2022-04-19 14:54:04 +08:00
debug Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
dm hv: vSRIOV: add VF BARs mapping for PF 2022-04-26 15:07:25 +08:00
hw Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
include Fix: write xmm registers correctly 2022-05-06 10:29:33 +08:00
lib Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
quirks Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
release Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
scripts config-tools: ignore the scenario and board field 2022-04-24 13:53:32 +08:00
MAINTAINERS update home page information 2018-05-15 17:19:39 +08:00
Makefile Makefile: put 'serial.conf' in final location 2022-02-18 18:38:45 +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/