mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
tpm-tis: no longer expose TPMState
Now that there is an interface instead. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
parent
8a89c9ac15
commit
36e8658924
@ -72,7 +72,7 @@ typedef struct TPMLocality {
|
||||
TPMSizedBuffer r_buffer;
|
||||
} TPMLocality;
|
||||
|
||||
struct TPMState {
|
||||
typedef struct TPMState {
|
||||
ISADevice busdev;
|
||||
MemoryRegion mmio;
|
||||
|
||||
@ -94,7 +94,7 @@ struct TPMState {
|
||||
char *backend;
|
||||
TPMBackend *be_driver;
|
||||
TPMVersion be_tpm_version;
|
||||
};
|
||||
} TPMState;
|
||||
|
||||
#define TPM(obj) OBJECT_CHECK(TPMState, (obj), TYPE_TPM_TIS)
|
||||
|
||||
|
@ -15,8 +15,6 @@
|
||||
#include "qom/object.h"
|
||||
#include "qapi-types.h"
|
||||
|
||||
typedef struct TPMState TPMState;
|
||||
|
||||
int tpm_config_parse(QemuOptsList *opts_list, const char *optarg);
|
||||
int tpm_init(void);
|
||||
void tpm_cleanup(void);
|
||||
|
Loading…
Reference in New Issue
Block a user