acrn-hypervisor/hypervisor
Zide Chen 1d2aea1ebd hv: some coding refinement in hypercall.c
- since now we don't need to print error messages if copy_to/from_gpa()
  fails, then in many cases we can simplify the function return handling.

  In the following example, my fix could change the 'ret' value from
  the original '-1' to the actual errno returned from copy_to_gpa(). But
  this is valid. Ideally we may replace all '-1' with the actual errno.

  - if (copy_to_gpa() < 0) {
  -	pr_err("error messages");
  -	ret = -1;
  - } else {
  -	ret = 0;
  - }
  + ret = copy_to_gpa();

- in most cases, 'ret' is declared with a default value 0 or -1, then the
  redundant assignment statements can be removed.

- replace white spaces with tabs.

Tracked-On: #3854
Signed-off-by: Zide Chen <zide.chen@intel.com>
2020-03-30 13:19:01 +08:00
..
acpi_parser hv:refine comment about intel integrated gpu dmar 2020-02-28 09:14:27 +08:00
arch/x86 hv: move error message logging into gpa copy APIs 2020-03-30 13:19:01 +08:00
boot hv: Handle holes in GSI i.e. Global System Interrupt for multiple IO-APICs 2020-03-25 09:36:18 +08:00
bsp/ld hv: fixup relocation delta for symbols belong to entry section 2020-03-06 08:27:46 +08:00
common hv: some coding refinement in hypercall.c 2020-03-30 13:19:01 +08:00
debug hv: move error message logging into gpa copy APIs 2020-03-30 13:19:01 +08:00
dm hv: vioapic init for SOS VM on platforms with multiple IO-APICs 2020-03-25 09:36:18 +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: cpuid: remove cpuid() 2020-03-25 13:26:58 +08:00
lib
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: update ept address range for pre-launched VM 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
MAINTAINERS
Makefile hv: a few fixes for multiboot2 boot 2020-03-24 08:44:20 +08: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/