From e5a25749e52bea8bf9dfc457a7f7e07496e0cc76 Mon Sep 17 00:00:00 2001 From: Victor Sun Date: Wed, 5 Jun 2019 23:44:44 +0800 Subject: [PATCH] doc: add multiboot module string parameter The multiboot module string will be used to identify the usage of current module, it must exactly match with "kernel_mod_tag" which configured in VM configurations files; Signed-off-by: Victor Sun --- doc/tutorials/using_partition_mode_on_nuc.rst | 5 ++++- doc/tutorials/using_partition_mode_on_up2.rst | 8 +++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/doc/tutorials/using_partition_mode_on_nuc.rst b/doc/tutorials/using_partition_mode_on_nuc.rst index 791bfdd78..b051150cf 100644 --- a/doc/tutorials/using_partition_mode_on_nuc.rst +++ b/doc/tutorials/using_partition_mode_on_nuc.rst @@ -210,7 +210,7 @@ Update Ubuntu GRUB to Boot hypervisor and Load Kernel Image echo 'Loading hypervisor logical partition scenario ...' multiboot --quirk-modules-after-kernel /boot/acrn.32.out - module /boot/bzImage + module /boot/bzImage XXXXXX } .. note:: @@ -220,6 +220,9 @@ Update Ubuntu GRUB to Boot hypervisor and Load Kernel Image ``hypervisor/scenarios/logical_partition/vm_configurations.h`` and configured by ``VMx_CONFIG_OS_BOOTARG_*`` MACROs (where x is the VM id number and ``*`` are arguments). + The multiboot module param ``XXXXXX`` is the bzImage tag and must + exactly match the ``kernel_mod_tag`` configured in file + ``hypervisor/scenarios/logical_partition/vm_configurations.c``. #. Modify the ``/etc/default/grub`` file as follows to make the GRUB menu visible when booting: diff --git a/doc/tutorials/using_partition_mode_on_up2.rst b/doc/tutorials/using_partition_mode_on_up2.rst index 36df91cd1..61cbd805a 100644 --- a/doc/tutorials/using_partition_mode_on_up2.rst +++ b/doc/tutorials/using_partition_mode_on_up2.rst @@ -327,9 +327,15 @@ Enable partition mode in ACRN hypervisor echo 'Loading partition mode hypervisor ...' multiboot /boot/acrn.32.out - module /boot/bzImage + module /boot/bzImage XXXXXX } + .. note:: + + The multiboot module param ``XXXXXX`` is the bzImage tag and must + exactly match the ``kernel_mod_tag`` configured in file + ``hypervisor/scenarios/logical_partition/vm_configurations.c``. + Modify the ``/etc/default/grub`` file as follows to make the GRUB menu visible when booting: