mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-20 22:15:59 +00:00
docs/zh_CN: add virt acrn introduction translation
Translate Documentation/virt/acrn/introduction.rst into Chinese. Signed-off-by: Yanteng Si <siyanteng@loongson.cn> Reviewed-by: Alex Shi <alexs@kernel.org> Link: https://lore.kernel.org/r/667a6eb64820d2234d12a0c5dd5b642af16c0d99.1628212777.git.siyanteng@loongson.cn Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
parent
8dda2eac96
commit
ab03e49f13
2 changed files with 55 additions and 1 deletions
|
@ -20,8 +20,10 @@ ACRN超级管理器
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
|
|
||||||
|
introduction
|
||||||
|
|
||||||
TODOLIST:
|
TODOLIST:
|
||||||
|
|
||||||
introduction
|
|
||||||
io-request
|
io-request
|
||||||
cpuid
|
cpuid
|
||||||
|
|
52
Documentation/translations/zh_CN/virt/acrn/introduction.rst
Normal file
52
Documentation/translations/zh_CN/virt/acrn/introduction.rst
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
.. SPDX-License-Identifier: GPL-2.0
|
||||||
|
.. include:: ../../disclaimer-zh_CN.rst
|
||||||
|
|
||||||
|
:Original: Documentation/virt/acrn/introduction.rst
|
||||||
|
|
||||||
|
:翻译:
|
||||||
|
|
||||||
|
司延腾 Yanteng Si <siyanteng@loongson.cn>
|
||||||
|
|
||||||
|
:校译:
|
||||||
|
|
||||||
|
时奎亮 Alex Shi <alexs@kernel.org>
|
||||||
|
|
||||||
|
.. _cn_virt_acrn_introduction:
|
||||||
|
|
||||||
|
ACRN超级管理器介绍
|
||||||
|
==================
|
||||||
|
|
||||||
|
ACRN超级管理器是一个第一类超级管理器,直接在裸机硬件上运行。它有一个特权管理虚拟机,称为服
|
||||||
|
务虚拟机,用于管理用户虚拟机和进行I/O仿真。
|
||||||
|
|
||||||
|
ACRN用户空间是一个运行在服务虚拟机中的应用程序,它根据命令行配置为用户虚拟机仿真设备。
|
||||||
|
ACRN管理程序服务模块(HSM)是服务虚拟机中的一个内核模块,为ACRN用户空间提供管理程序服
|
||||||
|
务。
|
||||||
|
|
||||||
|
下图展示了该架构。
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
服务端VM 用户端VM
|
||||||
|
+----------------------------+ | +------------------+
|
||||||
|
| +--------------+ | | | |
|
||||||
|
| |ACRN用户空间 | | | | |
|
||||||
|
| +--------------+ | | | |
|
||||||
|
|-----------------ioctl------| | | | ...
|
||||||
|
|内核空间 +----------+ | | | |
|
||||||
|
| | HSM | | | | 驱动 |
|
||||||
|
| +----------+ | | | |
|
||||||
|
+--------------------|-------+ | +------------------+
|
||||||
|
+---------------------hypercall----------------------------------------+
|
||||||
|
| ACRN超级管理器 |
|
||||||
|
+----------------------------------------------------------------------+
|
||||||
|
| 硬件 |
|
||||||
|
+----------------------------------------------------------------------+
|
||||||
|
|
||||||
|
ACRN用户空间为用户虚拟机分配内存,配置和初始化用户虚拟机使用的设备,加载虚拟引导程序,
|
||||||
|
初始化虚拟CPU状态,处理来自用户虚拟机的I/O请求访问。它使用ioctls来与HSM通信。HSM通过
|
||||||
|
与ACRN超级管理器的hypercalls进行交互来实现管理服务。HSM向用户空间输出一个char设备接口
|
||||||
|
(/dev/acrn_hsm)。
|
||||||
|
|
||||||
|
ACRN超级管理器是开源的,任何人都可以贡献。源码库在
|
||||||
|
https://github.com/projectacrn/acrn-hypervisor。
|
Loading…
Add table
Reference in a new issue