mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 03:29:43 +00:00
f0ccce6a95
When running under Xen and the guest reboots, it boots into a new domain with a new QEMU process (and a new swtpm process if using the emulator backend). The existing reset function is triggered just before the old QEMU process exists which causes QEMU to startup the TPM backend and then immediately shut it down. This is probably harmless but when using the emulated backend, it wastes CPU and IO time reloading state, etc. Fix this by calling the reset function directly from realize() when running under Xen. During a reboot, this will be called by the QEMU process for the new domain. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com> Reviewed-by: Stefan Berger <stefanb@linux.ibm.com> Message-id: 20220826143841.1515326-1-ross.lagerwall@citrix.com Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> |
||
---|---|---|
.. | ||
Kconfig | ||
meson.build | ||
tpm_crb.c | ||
tpm_ppi.c | ||
tpm_ppi.h | ||
tpm_prop.h | ||
tpm_spapr.c | ||
tpm_tis_common.c | ||
tpm_tis_isa.c | ||
tpm_tis_sysbus.c | ||
tpm_tis.h | ||
trace-events | ||
trace.h |