man: virt-install: Improve --tpm docs

* Stop listing sub options, since there's multiple, and most won't
  need to be specified.

* Give an example for type=emulator

Reported-by: Junqin Zhou <juzhou@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2020-01-18 14:39:41 -05:00
parent 9346c22134
commit 08313ede2b
1 changed files with 4 additions and 15 deletions

View File

@ -1693,29 +1693,18 @@ Use --memballoon=? to see a list of all available sub options. Complete details
Configure a virtual TPM device.
Type must be B<passthrough>. Additional options are:
=over 4
=item B<model>
The device model to present to the guest operating system. Model
must be B<tpm-tis>.
=back
An example invocation:
=over 4
=item B<--tpm passthrough,model=tpm-tis>
Make the host's TPM accessible to a single guest.
=item B<--tpm /dev/tpm>
Convenience option for passing through the hosts TPM.
=item B<--tpm emulator>
Request an emulated TPM device.
=back
Use --tpm=? to see a list of all available sub options. Complete details at L<https://libvirt.org/formatdomain.html#elementsTpm>