@@ -24,11 +24,11 @@ setting up the log and the serial port.
24
24
The hypervisor configuration uses the ``Kconfig `` ``make
25
25
menuconfig `` mechanism. The configuration file is located at::
26
26
27
- acrn-hypervisor/hypervisor/arch/x86/configs/Kconfig
27
+ acrn-hypervisor/hypervisor/arch/x86/configs/
28
28
29
29
A board-specific ``defconfig `` file, located at::
30
30
31
- acrn-hypervisor/hypervisor/arch/x86/configs/$(BOARD)/$(BOARD) .config
31
+ acrn-hypervisor/hypervisor/arch/x86/configs/$(BOARD).config
32
32
33
33
is loaded first; it is the default ``Kconfig `` for the specified board.
34
34
@@ -42,7 +42,7 @@ board settings, root device selection, and the kernel cmdline. It also includes
42
42
and BDF information. The board configuration is organized as
43
43
``*.c/*.h `` files located at::
44
44
45
- acrn-hypervisor/hypervisor/arch/x86/$(BOARD)/
45
+ acrn-hypervisor/hypervisor/arch/x86/configs/ $(BOARD)/
46
46
47
47
VM configuration
48
48
=================
@@ -80,6 +80,8 @@ configurations by exporting XMLs.
80
80
Board XML format
81
81
================
82
82
83
+ The board XML located at:
84
+ acrn-hypervisor/misc/acrn-config/xmls/board-xmls
83
85
The board XML has an ``acrn-config `` root element and a ``board `` attribute:
84
86
85
87
.. code-block :: xml
@@ -90,7 +92,8 @@ As an input for the ``acrn-config`` tool, end users do not need to care about th
90
92
91
93
Scenario XML format
92
94
===================
93
-
95
+ The scenario XML located at:
96
+ acrn-hypervisor/misc/acrn-config/xmls/config-xmls
94
97
The scenario XML has an ``acrn-config `` root element as well as ``board `` and ``scenario `` attributes:
95
98
96
99
.. code-block :: xml
@@ -155,7 +158,8 @@ Additional scenario XML elements:
155
158
156
159
Launch XML format
157
160
=================
158
-
161
+ The launch XML located at:
162
+ acrn-hypervisor/misc/acrn-config/xmls/config-xmls
159
163
The launch XML has an ``acrn-config `` root element as well as
160
164
``board ``, ``scenario `` and ``uos_launcher `` attributes:
161
165
@@ -171,8 +175,6 @@ Attributes of the ``uos_launcher`` specify the number of User VMs that the curre
171
175
172
176
``rtos_type ``: Specify the User VM Realtime capability: Soft RT, Hard RT, or none of them.
173
177
174
- ``cpu_num ``: Specify the max cpu number for the VM.
175
-
176
178
``mem_size ``: Specify the User VM memory size in Mbyte.
177
179
178
180
``gvt_args ``: GVT argument for the VM.
@@ -265,24 +267,24 @@ Here is the offline configuration tool workflow:
265
267
266
268
a. Generate a patch for the board-related configuration::
267
269
268
- cd misc/board_config
270
+ cd misc/acrn-config/ board_config
269
271
python3 board_cfg_gen.py --board $(BOARD).xml --scenario $(SCENARIO).xml
270
272
271
273
Note that this can also be done by clicking **Generate Board SRC** in the acrn-config UI.
272
274
273
275
274
276
#. Generate a patch for scenario-based VM configuration::
275
277
276
- cd misc/scenario_config
278
+ cd misc/acrn-config/ scenario_config
277
279
python3 scenario_cfg_gen.py --board $(BOARD).xml --scenario $(SCENARIO).xml
278
280
279
281
Note that this can also be done by clicking **Generate Scenario SRC** in the acrn-config UI.
280
282
281
283
#. Generate the launch script for the specified
282
284
post-launch User VM::
283
285
284
- cd misc/launch_config
285
- python3 launch_cfg_gen.py --board $(BOARD).xml --scenario $(SCENARIO).xml --launch $(LAUNCH).xml
286
+ cd misc/acrn-config/ launch_config
287
+ python3 launch_cfg_gen.py --board $(BOARD).xml --scenario $(SCENARIO).xml --launch $(LAUNCH).xml --uosid xx
286
288
287
289
Note that this can also be done by clicking **Generate Launch Script ** in the acrn-config UI.
288
290
@@ -316,10 +318,11 @@ Prerequisites
316
318
.. _get acrn repo guide :
317
319
https://projectacrn.github.io/latest/getting-started/building-from-source.html#get-the-acrn-hypervisor-source-code
318
320
319
- - Follow the :ref: `instruction <getting-started-building >` to install the
320
- ACRN hypervisor dependencies and tools on your development host.
321
+ - Clone acrn-hypervisor :
321
322
322
- - Follow the `get acrn repo guide `_ to download the ACRN hypervisor repo to your host.
323
+ .. code-block :: none
324
+
325
+ $git clone https://github.com/username/acrn-hypervisor.git
323
326
324
327
- Install ACRN configuration app dependencies:
325
328
@@ -328,6 +331,7 @@ Prerequisites
328
331
$ cd ~/acrn-hypervisor/misc/acrn-config/config_app
329
332
$ sudo pip3 install -r requirements
330
333
334
+
331
335
Instructions
332
336
============
333
337
0 commit comments