doc: remove dm dynamic param '-A'

Update document to remove 'acrn-dm' dynamic param '-A'.

Signed-off-by: Yuanyuan Zhao <yuanyuan.zhao@linux.intel.com>
This commit is contained in:
Yuanyuan Zhao
2021-12-30 15:59:26 +08:00
committed by David Kinder
parent a62e468aab
commit 75884af9ac
10 changed files with 19 additions and 31 deletions

View File

@@ -51,7 +51,7 @@ options:
.. code-block:: none
acrn-dm [-hAWYv] [-B bootargs] [-E elf_image_path]
acrn-dm [-hWYv] [-B bootargs] [-E elf_image_path]
[-k kernel_image_path]
[-l lpc] [-m mem] [-r ramdisk_image_path]
[-s pci] [--ovmf ovmf_file_path]
@@ -61,7 +61,6 @@ options:
[--cpu_affinity pCPUs] [--lapic_pt] [--rtvm] [--windows]
[--debugexit] [--logger-setting param_setting]
[--ssram] <vm>
-A: create ACPI tables
-B: bootargs for kernel
-E: elf image path
-h: help
@@ -105,7 +104,7 @@ Here's an example showing how to run a VM with:
.. code-block:: bash
acrn-dm -A -m 2048M \
acrn-dm -m 2048M \
-s 0:0,hostbridge \
-s 1:0,lpc -l com1,stdio \
-s 5,virtio-console,@pty:pty_port \
@@ -166,11 +165,9 @@ DM Initialization
dedicated ``vdev_init()`` function. For more details on the DM PCI
emulation, refer to `PCI Emulation`_.
- **ACPI Build**: If there is an "-A" option in the ``acrn-dm`` command line,
the DM
will build an ACPI table into its VM's F-Segment (0xf2400). This
ACPI table includes full tables for RSDP, RSDT, XSDT, MADT, FADT,
HPET, MCFG, FACS, and DSDT. All these items are programed
- **ACPI Build**: The DM will build an ACPI table into its VM's
F-Segment (0xf2400). This ACPI table includes full tables for RSDP, RSDT,
XSDT, MADT, FADT, HPET, MCFG, FACS, and DSDT. All these items are programed
according to the ``acrn-dm`` command-line configuration and derived from
their default value.
@@ -770,7 +767,7 @@ example:
.. code-block:: bash
acrn-dm -A -m 2048M \
acrn-dm -m 2048M \
-s 0:0,hostbridge \
-s 1:0,lpc -l com1,stdio \
-s 5,virtio-console,@pty:pty_port \

View File

@@ -16,7 +16,7 @@ PCI Host Bridge and Hierarchy
There is PCI host bridge emulation in DM. The bus hierarchy is determined by ``acrn-dm`` command line input. Using this command line, as an example::
acrn-dm -A -m $mem_size -s 0:0,hostbridge \
acrn-dm -m $mem_size -s 0:0,hostbridge \
-s 5,virtio-console,@stdio:stdio_port \
-s 6,virtio-hyper_dmabuf \
-s 3,virtio-blk,/home/acrn/UserVM.img \

View File

@@ -434,7 +434,7 @@ passthrough and enables PTM on it:
echo ${passthru_bdf["ethptm"]} > /sys/bus/pci/devices/${passthru_bdf["ethptm"]}/driver/unbind
echo ${passthru_bdf["ethptm"]} > /sys/bus/pci/drivers/pci-stub/bind
acrn-dm -A -m $mem_size -s 0:0,hostbridge \
acrn-dm -m $mem_size -s 0:0,hostbridge \
-s 3,virtio-blk,user-vm-test.img \
-s 4,virtio-net,tap0 \
-s 5,virtio-console,@stdio:stdio_port \
@@ -504,7 +504,7 @@ If supported, follow these steps to enable PTM in the post-launched VM:
.. code-block:: bash
:emphasize-lines: 5
$ acrn-dm -A -m $mem_size -s 0:0,hostbridge \
$ acrn-dm -m $mem_size -s 0:0,hostbridge \
-s 3,virtio-blk,user-vm-test.img \
-s 4,virtio-net,tap0 \
-s 5,virtio-console,@stdio:stdio_port \