doc: add UID parameter for acpidev_pt

Now the acpidev_pt module only use the hid to check the device,it can't
work well if there are more then one instance.

So this patch add UID to identify same type device to fix these issue.

Tracked-On: #6690
Signed-off-by: Chenli Wei <chenli.wei@linux.intel.com>
This commit is contained in:
Chenli Wei
2022-01-28 11:32:21 +08:00
committed by David Kinder
parent 9f8231e7ba
commit b41ff11a9c
3 changed files with 11 additions and 7 deletions

View File

@@ -218,16 +218,20 @@ Here are descriptions for each of these ``acrn-dm`` command line parameters:
----
``--acpidev_pt <HID>``
``--acpidev_pt <HID>[,<UID>]``
This option is to enable ACPI device passthrough support. The ``HID`` is a
mandatory parameter for this option which is the Hardware ID of the ACPI
device.
The ``UID`` is an option and used to specify a particular instance of the
HID device, the default is 00.
Example::
--acpidev_pt MSFT0101
--acpidev_pt MSFT0101,00
To pass through a TPM (which HID is MSFT0101) ACPI device to a User VM.
To pass through a TPM (which HID is MSFT0101 and UID is 00) ACPI device to
a User VM.
----