doc: incorporate scenario-based doc update

PR #3516 was submitted during a documentation reorganization and
resulted in merge conflicts with files that no longer exist.  We closed
that PR and opened this one with those changes applied to the right
files.

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
David B. Kinder
2019-08-02 14:08:07 -07:00
committed by David Kinder
parent 9580a2131b
commit f0ecf8291f
4 changed files with 135 additions and 41 deletions

View File

@@ -0,0 +1,7 @@
digraph G {
rankdir=LR;
bgcolor="transparent";
UEFI -> "GRUB" -> "acrn.32.out" -> "Pre-launched\nVM Kernel"
"acrn.32.out" -> "Service VM\nKernel" -> "ACRN\nDevice Model" ->
"Virtual\nBootloader";
}

View File

@@ -137,22 +137,51 @@ and many other features.
Boot Sequence
*************
ACRN supports two kinds of boots: **De-privilege boot mode** and **Direct
boot mode**.
De-privilege boot mode
======================
**De-privilege boot mode** is loaded by ``acrn.efi`` under a UEFI
environment. The Service VM must be the first launched VM, (i.e. VM0).
In :numref:`boot-flow` we show a verified Boot Sequence with UEFI
on an Intel Architecture platform NUC (see :ref:`hardware`).
.. graphviz:: images/boot-flow.dot
:name: boot-flow
:align: center
:caption: ACRN Hypervisor Boot Flow
:caption: ACRN Hypervisor De-privilege boot mode Flow
The Boot process proceeds as follows:
#. UEFI verifies and boots the ACRN hypervisor and Service OS Bootloader
#. UEFI (or Service OS Bootloader) verifies and boots Service OS kernel
#. Service OS kernel verifies and loads ACRN Device Model and Virtual
#. UEFI verifies and boots the ACRN hypervisor and Service VM Bootloader
#. UEFI (or Service VM Bootloader) verifies and boots Service VM kernel
#. Service VM kernel verifies and loads ACRN Device Model and Virtual
bootloader through dm-verity
#. Virtual bootloader starts the User-side verified boot process
Direct boot mode
================
In :numref:`boot-flow-2` we show the **Direct boot mode** sequence:
.. graphviz:: images/boot-flow-2.dot
:name: boot-flow-2
:align: center
:caption: ACRN Hypervisor Direct boot mode Boot Flow
The Boot process proceeds as follows:
#. UEFI boots GRUB
#. GRUB boots the ACRN hypervisor and loads the VM kernels as Multi-boot
modules
#. ACRN hypervisor verifies and boots kernels of the Pre-launched VM and
Service VM
#. In the Service VM launch path, the Service VM kernel verifies and loads
the ACRN Device Model and Virtual bootloader through dm-verity
#. Virtual bootloader starts the User-side verified boot process
ACRN Hypervisor Architecture
****************************