mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-01 13:50:38 -07:00
Add a new machine xenpvh which creates a IOREQ server to register/connect with
Xen Hypervisor.
Optional: When CONFIG_TPM is enabled, it also creates a tpm-tis-device, adds a
TPM emulator and connects to swtpm running on host machine via chardev socket
and support TPM functionalities for a guest domain.
Extra command line for aarch64 xenpvh QEMU to connect to swtpm:
-chardev socket,id=chrtpm,path=/tmp/myvtpm2/swtpm-sock \
-tpmdev emulator,id=tpm0,chardev=chrtpm \
-machine tpm-base-addr=0x0c000000 \
swtpm implements a TPM software emulator(TPM 1.2 & TPM 2) built on libtpms and
provides access to TPM functionality over socket, chardev and CUSE interface.
Github repo: https://github.com/stefanberger/swtpm
Example for starting swtpm on host machine:
mkdir /tmp/vtpm2
swtpm socket --tpmstate dir=/tmp/vtpm2 \
--ctrl type=unixio,path=/tmp/vtpm2/swtpm-sock &
Signed-off-by: Vikram Garhwal <vikram.garhwal@amd.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
|
||
|---|---|---|
| .. | ||
| aspeed.rst | ||
| bananapi_m2u.rst | ||
| collie.rst | ||
| cpu-features.rst | ||
| cubieboard.rst | ||
| digic.rst | ||
| emcraft-sf2.rst | ||
| emulation.rst | ||
| gumstix.rst | ||
| highbank.rst | ||
| imx25-pdk.rst | ||
| integratorcp.rst | ||
| kzm.rst | ||
| mainstone.rst | ||
| mps2.rst | ||
| musca.rst | ||
| musicpal.rst | ||
| nrf.rst | ||
| nseries.rst | ||
| nuvoton.rst | ||
| orangepi.rst | ||
| palm.rst | ||
| raspi.rst | ||
| realview.rst | ||
| sabrelite.rst | ||
| sbsa.rst | ||
| stellaris.rst | ||
| stm32.rst | ||
| sx1.rst | ||
| versatile.rst | ||
| vexpress.rst | ||
| virt.rst | ||
| xenpvh.rst | ||
| xlnx-versal-virt.rst | ||
| xscale.rst | ||