qemu/stubs/tpm.c
<<
>>
Prefs
   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#include "qemu/osdep.h"
   8#include "sysemu/tpm.h"
   9#include "qmp-commands.h"
  10
  11int tpm_init(void)
  12{
  13    return 0;
  14}
  15
  16void tpm_cleanup(void)
  17{
  18}
  19
  20TPMInfoList *qmp_query_tpm(Error **errp)
  21{
  22    return NULL;
  23}
  24
  25TpmTypeList *qmp_query_tpm_types(Error **errp)
  26{
  27    return NULL;
  28}
  29
  30TpmModelList *qmp_query_tpm_models(Error **errp)
  31{
  32    return NULL;
  33}
  34