acrn-hypervisor/misc
Victor Sun 978f899029 HV: move vm configuration check to pre-build time
This patch will move the VM configuration check to pre-build stage,
a test program will do the check for pre-defined VM configuration
data before making hypervisor binary. If test failed, the make
process will be aborted. So once the hypervisor binary is built
successfully or start to run, it means the VM configuration has
been sanitized.

The patch did not add any new VM configuration check function,
it just port the original sanitize_vm_config() function from cpu.c
to static_checks.c with below change:
  1. remove runtime rdt detection for clos check;
  2. replace pr_err() from logmsg.h with printf() from stdio.h;
  3. replace runtime call get_pcpu_nums() in ALL_CPUS_MASK macro
     with static defined MAX_PCPU_NUM;

The BOARD/SCENARIO parameter check and configuration folder check is
also moved to prebuild Makefile.

Tracked-On: #5077

Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2020-08-12 15:24:42 +08:00
..
acrn-config config: add GUEST_FLAG_PMU_PASSTHROUGH to DM_OWNED_GUEST_FLAG_MASK 2020-08-06 14:03:55 +08:00
acrn-manager doc: update release_2.0 branch with doc changes 2020-06-24 09:40:54 -07:00
acrnbridge use variables for installation directories. 2020-06-05 15:25:12 +08:00
efi-stub Makefile: remove 'clean' when building HV/DM 2020-05-21 15:12:21 +08:00
hv_prebuild HV: move vm configuration check to pre-build time 2020-08-12 15:24:42 +08:00
life_mngr life_mngr:fix resend shutdown cmd fail 2020-04-16 22:04:53 +08:00
tools use variables for installation directories. 2020-06-05 15:25:12 +08:00
Makefile Misc: lifemngr-daemon-on-UOS for windows 2019-10-24 13:20:53 +08:00
README.rst HV:Acrn-hypvervisor Root Directory Clean-up and create misc/ folder for Acrn daemons, services and tools. 2019-07-29 22:58:24 +08:00

ACRN tools
##########

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".

This folder holds the source to a number of tools that facilitate the
management, debugging, profiling, and logging of multi-OS systems based on
ACRN.

You can find out more about Project ACRN and its set of tools on the
`Project ACRN documentation`_ website.

.. _`Project ACRN`: https://projectacrn.org
.. _`Project ACRN documentation`: https://projectacrn.github.io/