mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-05 18:25:05 +00:00
Project ACRN hypervisor
The acrnctl can help user to create, delete, launch and stop UOSs, To see what it can do, just run: # acrnctl or # acrnctl help you may see: support: list start stop del add Use acrnctl [cmd] help for details There are examples: (1) add a VM Each time you can just add one VM. Suppose you have an UOS launch script, such as launch_UOS.sh you can run: # acrnctl add launch_UOS.sh -U 1 vm1-14:59:30 added Note that, launch script shoud be able to launch ONE UOS. If it fail, it is better to print some error logs, to tell user the reason, so that he knows how to solve it. The vmname is important, the acrnctl searchs VMs by their names. so duplicated VM names are not allowed. Beside, if the launch script changes VM name at launch time, acrnctl will not recgonize it. (2) delete VMs # acrnctl del vm1-14:59:30 (3) show VMs # acrnctl list vm1-14:59:30 untracked vm-yocto stop vm-android stop (4) start VM you can start a vm with 'stop' status, each time can start one VM. # acrnctl start vm-yocto (5) stop VM you can stop VMs, if their status is not 'stop' # acrnctl stop vm-yocto vm1-14:59:30 vm-android 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> 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/