acrn-hypervisor/devicemodel
Conghui Chen ca925f0dd4 dm: storage: change DISCARD to synchronous mode
For virtio-blk, when the backend is a regular file, the discard
and
is implemented by fallocate(), but this function will not wait for
the discard command handled by disk.
So, add fdatasync to make sure the DISCARD is executed
synchronously.

Tracked-On: #2395
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Acked-by: Wang Yu <yu1.wang@intel.com>
2019-01-23 12:56:47 +08:00
..
arch/x86 dm: allow PM1_RTC_EN to be written to PM1A 2018-12-29 10:33:32 +08:00
bios dm: bios: update vSBL to V1.1 2018-12-12 12:53:41 +08:00
core dm: vhpet: add vHPET support 2019-01-23 10:33:28 +08:00
hw dm: storage: change DISCARD to synchronous mode 2019-01-23 12:56:47 +08:00
include dm: vhpet: add vHPET support 2019-01-23 10:33:28 +08:00
lib dm: Fix some issues from string operations 2018-12-25 18:40:04 +08:00
samples acrn/dm: Check device file of /dev/acrn_hsm to determine the path of offline VCPU 2019-01-18 11:04:22 +08:00
vmcfg tools: vmcfg: use defconfig instead of default values in Kconfig 2018-12-12 13:23:28 +08:00
MAINTAINERS update home page information 2018-05-15 17:19:39 +08:00
Makefile dm: vhpet: add vHPET support 2019-01-23 10:33:28 +08:00
README.rst Documentation: clean-up of isolated README.rst files 2018-11-20 11:09:53 -08:00

README.rst

ACRN Device Model
#################

Introduction
============
The ACRN Device Model provides **device sharing** capabilities between the
Service OS and Guest OSs. It is a component that is used in conjunction with
the `ACRN Hypervisor`_ and this is installed within the Service OS. You can
find out more about Project ACRN on the `Project ACRN documentation`_ website.

.. _`ACRN Hypervisor`: https://github.com/projectacrn/acrn-hypervisor
.. _`Project ACRN documentation`: https://projectacrn.github.io/