projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80bde69
)
test/tpm-emu: include sockets and channel headers in tpm-emu header
author
Eric Auger
<eric.auger@redhat.com>
Tue, 9 Jun 2020 12:54:05 +0000
(14:54 +0200)
committer
Michael S. Tsirkin
<mst@redhat.com>
Tue, 9 Jun 2020 18:18:04 +0000
(14:18 -0400)
Include sockets and channel headers to that the header is
self-contained.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Message-Id: <
20200609125409
.24179-2-eric.auger@redhat.com>
tests/qtest/tpm-emu.h
patch
|
blob
|
history
diff --git
a/tests/qtest/tpm-emu.h
b/tests/qtest/tpm-emu.h
index a4f1d6422695ec7633b264ca6d27412bdc2ce940..73f3bed0c4bceeefb14b3c8fa219eefa746907ed 100644
(file)
--- a/
tests/qtest/tpm-emu.h
+++ b/
tests/qtest/tpm-emu.h
@@
-16,6
+16,9
@@
#define TPM_RC_FAILURE 0x101
#define TPM2_ST_NO_SESSIONS 0x8001
+#include "qemu/sockets.h"
+#include "io/channel.h"
+
struct tpm_hdr {
uint16_t tag;
uint32_t len;