doc: prepare docs for removal of HV_RAM_SIZE option
HV_RAM_SIZE will be eliminated as a configuration option so we'll need to remove references to it in the documentation. See PR #6664 and PR #6681 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
parent
a5541a9011
commit
3bbab125b1
31
doc/faq.rst
31
doc/faq.rst
|
@ -16,34 +16,3 @@ What Hardware Does ACRN Support?
|
||||||
ACRN runs on Intel-based boards, as documented in
|
ACRN runs on Intel-based boards, as documented in
|
||||||
our :ref:`hardware` documentation.
|
our :ref:`hardware` documentation.
|
||||||
|
|
||||||
.. _config_32GB_memory:
|
|
||||||
|
|
||||||
How Do I Configure ACRN's Memory Size?
|
|
||||||
**************************************
|
|
||||||
|
|
||||||
It's important that the ACRN configuration settings are aligned with the
|
|
||||||
physical memory on your platform. Check the documentation for these
|
|
||||||
option settings for details:
|
|
||||||
|
|
||||||
* :option:`hv.MEMORY.PLATFORM_RAM_SIZE`
|
|
||||||
* :option:`hv.MEMORY.HV_RAM_SIZE`
|
|
||||||
|
|
||||||
Check the :ref:`acrn_configuration_tool` for more information on how
|
|
||||||
to adjust these settings.
|
|
||||||
|
|
||||||
Why Does ACRN Need to Know How Much RAM the System Has?
|
|
||||||
*******************************************************
|
|
||||||
|
|
||||||
Configuring ACRN at compile time with the system RAM size is a tradeoff between
|
|
||||||
flexibility and functional safety certification. For server virtualization, one
|
|
||||||
binary is typically used for all platforms with flexible configuration options
|
|
||||||
given at run time. But, for IoT applications, the image is typically configured
|
|
||||||
and built for a particular product platform and optimized for that product.
|
|
||||||
|
|
||||||
Important features for ACRN include Functional Safety (FuSa) and real-time
|
|
||||||
behavior. FuSa requires a static allocation policy to avoid the potential of
|
|
||||||
dynamic allocation failures. Real-time applications similarly benefit from
|
|
||||||
static memory allocation. This is why ACRN removed all ``malloc()``-type code,
|
|
||||||
and why it needs to pre-identify the size of all buffers and structures used in
|
|
||||||
the Virtual Memory Manager. For this reason, knowing the available RAM size at
|
|
||||||
compile time is necessary to statically allocate memory usage.
|
|
||||||
|
|
|
@ -207,8 +207,8 @@ relevant for configuring or debugging ACRN-based systems.
|
||||||
from the guest VM.
|
from the guest VM.
|
||||||
|
|
||||||
If hypervisor relocation is disabled, verify that
|
If hypervisor relocation is disabled, verify that
|
||||||
:option:`hv.MEMORY.HV_RAM_START` and :option:`hv.MEMORY.HV_RAM_SIZE`
|
:option:`hv.MEMORY.HV_RAM_START` and the hypervisor RAM size computed by the linker
|
||||||
does not overlap with the hypervisor's reserved buffer space allocated
|
do not overlap with the hypervisor's reserved buffer space allocated
|
||||||
in the Service VM. Service VM GPA and HPA are a 1:1 mapping.
|
in the Service VM. Service VM GPA and HPA are a 1:1 mapping.
|
||||||
|
|
||||||
If hypervisor relocation is enabled, reserve the memory below 256MB,
|
If hypervisor relocation is enabled, reserve the memory below 256MB,
|
||||||
|
|
Loading…
Reference in New Issue