acrn-hypervisor/hypervisor
dongshen cf48b9c38f HV: use is_prelaunched_vm/is_hostbridge to check if the code is only for pre-launched VMs
Currently host bridge emulation and bar emulation are only for pre-launched vms,
use is_prelaunched_vm to check if it is for pre-launched vms when calling
init/deinit/cfgread/cfgwrite, also use is_hostbridge() to check if the access if
for host bridge, so that these functions can be unified for sos and pre-launched
vm in subsequent commits.

Move is_hostbridge function to vpci_priv.h so that it can be used by multiple
files.

vhostbridge_cfgread/vhostbridge_cfgwrite: return -ENODEV if the pci cfg access is not
targeted for vhostbridge so that cfgread/cfgwrite functions can be unified for sos and
pre-launched vm in subsequent commits

Fix @pre for functions

Tracked-On: #3056
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
2019-05-20 10:37:13 +08:00
..
acpi_parser hv:remove some unnecessary includes 2019-05-16 10:33:01 +08:00
arch/x86 hv: emulate ACPI reset register for Service OS guest 2019-05-15 11:20:12 +08:00
boot hv:remove some unnecessary includes 2019-05-16 10:33:01 +08:00
bsp/ld hv: dmar_parse: remove dynamic memory allocation 2019-05-10 11:33:37 +08:00
common HV: Remove undefined CONFIG_REMAIN_1G_PAGES 2019-05-17 11:06:52 +08:00
debug vm_state: Update vm state VM_STATE_INVALID to VM_POWERED_OFF 2019-05-08 16:58:41 +08:00
dm HV: use is_prelaunched_vm/is_hostbridge to check if the code is only for pre-launched VMs 2019-05-20 10:37:13 +08:00
hw hv:remove common header files 2019-05-07 09:10:13 +08:00
include HV: move bar emulation initialization code to pci_pt.c 2019-05-20 10:37:13 +08:00
lib hv:move several files related X86 for lib 2019-05-13 10:12:20 +08:00
pre_build hv:merge static_checks.c 2019-05-14 09:16:33 +08:00
release hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
scenarios HV: enable Kconfig of ACPI_PARSE_ENABLED 2019-05-14 11:53:02 +08:00
scripts hv: remove CONFIG_PLATFORM_[SBL|UEFI] and UEFI_STUB 2019-03-13 10:26:55 +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: implement NEED_SHUTDOWN_VM request to idle thread 2019-05-15 11:20:12 +08:00
README.rst doc: fix utf-8 punctuation, branding, spelling 2019-03-14 09:13:58 -07:00

README.rst

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/