TCG: add wasm backend

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
This commit is contained in:
Kohei Tokunaga
2024-08-28 10:36:46 +09:00
committed by Evan Reichard
parent 40edccac41
commit 2816a551ef
29 changed files with 3656 additions and 38 deletions
+4 -2
View File
@@ -133,7 +133,7 @@ QEMU_EXTERN_C int daemon(int, int);
#include <setjmp.h>
#include <signal.h>
#ifdef CONFIG_IOVEC
#if defined(CONFIG_IOVEC) || defined(EMSCRIPTEN)
#include <sys/uio.h>
#endif
@@ -281,6 +281,7 @@ void QEMU_ERROR("code path is reachable")
#ifndef WCOREDUMP
#define WCOREDUMP(status) 0
#endif
#ifndef EMSCRIPTEN
/*
* We have a lot of unaudited code that may fail in strange ways, or
* even be a security risk during migration, if you disable assertions
@@ -296,6 +297,7 @@ void QEMU_ERROR("code path is reachable")
#ifdef G_DISABLE_ASSERT
#error building with G_DISABLE_ASSERT is not supported
#endif
#endif
#ifndef OFF_MAX
#define OFF_MAX (sizeof (off_t) == 8 ? INT64_MAX : INT32_MAX)
@@ -630,7 +632,7 @@ bool qemu_write_pidfile(const char *pidfile, Error **errp);
int qemu_get_thread_id(void);
#ifndef CONFIG_IOVEC
#if !defined(CONFIG_IOVEC) && !defined(EMSCRIPTEN)
struct iovec {
void *iov_base;
size_t iov_len;