mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-07 19:24:34 +00:00
Project ACRN hypervisor
A monitor component will be added to acrn-dm, which crteats socket, bind and listening at /run/acrn/vmname. Acrnctl & acrnd could conn -ect to the socket for communication, using defined message, in include/monitor_msg.h For each defined message, a message handler callback could be registered via monitor_add_msg_handler(). On received of a defined message, a certain call back will be called. Each callback can only see the message sender's socket-fd. When acrn-dm want report something, not triggered by incoming message it can send broadcast message, use monitor_broadcast(). Acked-by: Eddie Dong <eddie.dong@intel.com> Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Reviewed-by: Yin, Fengwei <fengwei.yin@intel.com> Signed-off-by: Tao, Yuhong <yuhong.tao@intel.com> |
||
---|---|---|
.travis-dockerfiles | ||
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/