]> git.proxmox.com Git - mirror_qemu.git/blob - stubs/tpm.c
Merge remote-tracking branch 'remotes/philmd-gitlab/tags/acceptance-testing-20200812...
[mirror_qemu.git] / stubs / tpm.c
1 /*
2 * TPM stubs
3 *
4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
6 */
7
8 #include "qemu/osdep.h"
9 #include "qapi/qapi-commands-tpm.h"
10 #include "sysemu/tpm.h"
11 #include "hw/acpi/tpm.h"
12
13 int tpm_init(void)
14 {
15 return 0;
16 }
17
18 void tpm_cleanup(void)
19 {
20 }
21
22 TPMInfoList *qmp_query_tpm(Error **errp)
23 {
24 return NULL;
25 }
26
27 TpmTypeList *qmp_query_tpm_types(Error **errp)
28 {
29 return NULL;
30 }
31
32 TpmModelList *qmp_query_tpm_models(Error **errp)
33 {
34 return NULL;
35 }
36
37 void tpm_build_ppi_acpi(TPMIf *tpm, Aml *dev)
38 {
39 }