acrn-hypervisor/hypervisor
Shuo A Liu 7e66c0d4fa hv: sched: use get_running_vcpu to replace per_cpu vcpu with cpu sharing
With cpu sharing enabled, per_cpu vcpu cannot work properly as we might
has multiple vcpus running on one pcpu.
Add a schedule API sched_get_current to get current thread_object on
specific pcpu, also add a vcpu API get_running_vcpu to get corresponding
vcpu of the thread_object.

Tracked-On: #3813
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Signed-off-by: Yu Wang <yu1.wang@intel.com>
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-10-23 12:47:08 +08:00
..
acpi_parser hv: pci: update "union pci_bdf" 2019-09-25 13:45:39 +08:00
arch/x86 hv: sched: use get_running_vcpu to replace per_cpu vcpu with cpu sharing 2019-10-23 12:47:08 +08:00
boot hv: sched: use get_running_vcpu to replace per_cpu vcpu with cpu sharing 2019-10-23 12:47:08 +08:00
bsp/ld hv: dmar_parse: remove dynamic memory allocation 2019-05-10 11:33:37 +08:00
common hv: sched: use get_running_vcpu to replace per_cpu vcpu with cpu sharing 2019-10-23 12:47:08 +08:00
debug hv: sched: use get_running_vcpu to replace per_cpu vcpu with cpu sharing 2019-10-23 12:47:08 +08:00
dm hv: sched: move pcpu_id from acrn_vcpu to thread_object 2019-10-23 12:47:08 +08:00
hw hv: vpci: remove pci_msi_cap in pci_pdev 2019-10-14 15:09:03 +08:00
include hv: sched: use get_running_vcpu to replace per_cpu vcpu with cpu sharing 2019-10-23 12:47:08 +08:00
lib hv:tiny cleanup 2019-09-05 09:58:47 +08:00
pre_build hv:merge static_checks.c 2019-05-14 09:16:33 +08:00
release hv: uart: enable early boot uart 2019-07-26 09:10:06 +08:00
scenarios hv: modify SOS i915 plane setting for hybrid scenario 2019-10-16 22:02:45 +08:00
scripts 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
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: support minimum set of TLFS 2019-10-22 10:09:16 +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/