mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-24 14:33:38 +00:00
Project ACRN hypervisor
The current dm, all non-pci and non-acpi related files are put into hw/platform directory. This is actually disturbed the meaning of *platform*. The platform devices are mean of board and SoC specific non-PCI devices, like usb devices, etc. This patch refines the ACRN dm directory architecture. For some common device logic files, likes block_if.c/uart_core.c or usb_core.c. They will move to hw/ directly. For platform architecture depended files, create arch/ under root dir. And create sub-dir arch/x86 for x86 architecture, will create more architectures in future. The pm.c will move to this new dir. The hw/acpi will be moved to hw/platform/acpi due to acpi also be considered as part of platform. Signed-off-by: Yu Wang <yu1.wang@intel.com> |
||
---|---|---|
.travis-dockerfiles | ||
arch/x86 | ||
core | ||
hw | ||
include | ||
samples | ||
tools | ||
.gitignore | ||
.travis.yml | ||
license_header | ||
MAINTAINERS | ||
Makefile | ||
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. Building the Device Model ========================= Build dependencies ****************** * For Clear Linux .. code-block:: console sudo swupd bundle-add os-clr-on-clr \ os-utils-gui-dev * For CentOS .. code-block:: console sudo yum install gcc \ libuuid-devel \ openssl-devel \ libpciaccess-devel * For Fedora 27 .. code-block:: console sudo dnf install gcc \ libuuid-devel \ openssl-devel \ libpciaccess-devel Build ***** To build the Device Model .. code-block:: console make To clean the build artefacts .. code-block:: console make clean Runtime dependencies ******************** * On CentOS .. code-block:: console sudo yum install openssl-libs \ zlib \ libpciaccess \ libuuid * On Fedora 27 .. code-block:: console sudo dnf install openssl-libs \ zlib \ libpciaccess \ libuuid .. _`ACRN Hypervisor`: https://github.com/projectacrn/acrn-hypervisor .. _`Project ACRN documentation`: https://projectacrn.github.io/