acrn-hypervisor/hypervisor
Zide Chen aee9f3c666 hv: reset per cpu sbuf pointers during vcpu reset
When shutting down SOS VM, the shared sbuf is released from guest OS, but
the per cpu sbuf pointers in hypervisor keep inact. This creates a problem
that after SOS is re-launched, hypervisor could write to the shared
buffer that no longer exists.

This patch implements sbuf_reset() and call it from reset_vcpu() to
reset sbuf pointers.

Tracked-On: #2700
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2019-04-19 16:20:34 +08:00
..
arch/x86 hv: reset per cpu sbuf pointers during vcpu reset 2019-04-19 16:20:34 +08:00
boot hv: replace MEM_2K with a new macro MAX_BOOTARGS_SIZE for bootargs size 2019-03-21 13:08:15 +08:00
bsp HV:BSP:Update firmware detection and operations selecting logic 2019-04-16 12:07:58 +08:00
common hv: Remove need for init_fallback_iommu_domain and fallback_iommu_domain 2019-04-17 11:42:36 +08:00
debug hv: reset per cpu sbuf pointers during vcpu reset 2019-04-19 16:20:34 +08:00
dm hv:change register_mmio_emulation_handler to void 2019-04-19 09:02:15 +08:00
hw pci.c: assert MSIX table count <= config max 2019-03-08 23:04:12 +08:00
include hv: reset per cpu sbuf pointers during vcpu reset 2019-04-19 16:20:34 +08:00
lib hv:move 'udelay' to timer.c 2019-03-22 08:38:13 +08:00
release hv: reset per cpu sbuf pointers during vcpu reset 2019-04-19 16:20:34 +08:00
scenarios HV: enable lapic passthru for logical partition VM1 2019-04-17 18:58:09 +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: Build mptable for guest if VM type is Pre-Launched 2019-04-15 15:51:02 +08:00
README.rst doc: fix utf-8 punctuation, branding, spelling 2019-03-14 09:13:58 -07:00

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/