Merge tag 'v9.1.0'
[qemu/ar7.git] / include / hw / ppc / spapr_tpm_proxy.h
blob96d2a9697e50051f797d7ba0bac16cab66c64a6c
1 /*
2 * SPAPR TPM Proxy/Hypercall
4 * Copyright IBM Corp. 2019
6 * Authors:
7 * Michael Roth <mdroth@linux.vnet.ibm.com>
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
13 #ifndef HW_SPAPR_TPM_PROXY_H
14 #define HW_SPAPR_TPM_PROXY_H
16 #include "qom/object.h"
17 #include "hw/qdev-core.h"
19 #define TYPE_SPAPR_TPM_PROXY "spapr-tpm-proxy"
20 OBJECT_DECLARE_SIMPLE_TYPE(SpaprTpmProxy, SPAPR_TPM_PROXY)
22 struct SpaprTpmProxy {
23 /*< private >*/
24 DeviceState parent;
26 char *host_path;
27 int host_fd;
30 #endif /* HW_SPAPR_TPM_PROXY_H */