]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/tpm-crb-test.c
i386: Update new x86_apicid parsing rules with die_offset support
[mirror_qemu.git] / tests / tpm-crb-test.c
index d8f956920384d8e72c15a68ba1697691c87cd029..a139caa51df17e48a171c2f7198eec3dcf6cb1cb 100644 (file)
@@ -16,6 +16,7 @@
 #include "hw/acpi/tpm.h"
 #include "io/channel-socket.h"
 #include "libqtest.h"
+#include "qemu/module.h"
 #include "tpm-emu.h"
 
 #define TPM_CMD "\x80\x01\x00\x00\x00\x0c\x00\x00\x01\x44\x00\x00"
@@ -151,6 +152,7 @@ int main(int argc, char **argv)
     test.addr->u.q_unix.path = g_build_filename(tmp_path, "sock", NULL);
     g_mutex_init(&test.data_mutex);
     g_cond_init(&test.data_cond);
+    test.data_cond_signal = false;
 
     thread = g_thread_new(NULL, tpm_emu_ctrl_thread, &test);
     tpm_emu_test_wait_cond(&test);