mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 21:40:49 +00:00
8063396bf3
This converts existing DECLARE_INSTANCE_CHECKER usage to OBJECT_DECLARE_SIMPLE_TYPE when possible. $ ./scripts/codeconverter/converter.py -i \ --pattern=AddObjectDeclareSimpleType $(git grep -l '' -- '*.[ch]') Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: Paul Durrant <paul@xen.org> Message-Id: <20200916182519.415636-6-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
31 lines
626 B
C
31 lines
626 B
C
/*
|
|
* SPAPR TPM Proxy/Hypercall
|
|
*
|
|
* Copyright IBM Corp. 2019
|
|
*
|
|
* Authors:
|
|
* Michael Roth <mdroth@linux.vnet.ibm.com>
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
#ifndef HW_SPAPR_TPM_PROXY_H
|
|
#define HW_SPAPR_TPM_PROXY_H
|
|
|
|
#include "qom/object.h"
|
|
#include "hw/qdev-core.h"
|
|
|
|
#define TYPE_SPAPR_TPM_PROXY "spapr-tpm-proxy"
|
|
OBJECT_DECLARE_SIMPLE_TYPE(SpaprTpmProxy, SPAPR_TPM_PROXY)
|
|
|
|
struct SpaprTpmProxy {
|
|
/*< private >*/
|
|
DeviceState parent;
|
|
|
|
char *host_path;
|
|
int host_fd;
|
|
};
|
|
|
|
#endif /* HW_SPAPR_TPM_PROXY_H */
|