]> git.ipfire.org Git - thirdparty/qemu.git/commit
include/qemu/osdep.h: Add Emscripten-specific OS dependencies
authorKohei Tokunaga <ktokunaga.mail@gmail.com>
Mon, 28 Apr 2025 06:39:03 +0000 (15:39 +0900)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 May 2025 14:02:04 +0000 (16:02 +0200)
commit0f46bf659f015d4860c7212b4a6f0656b312d4f4
treead2ff5ed61c6942cb1f149bfb617cf973465bb34
parent208808242f8a34ac93e73c1c1dbafe4c00498f5e
include/qemu/osdep.h: Add Emscripten-specific OS dependencies

On emscripten, some implementations in os-posix.c can't be used such as
daemonizing and changing user. This commit introduces os-wasm.c and
os-wasm.h which are forked from os-posix.c and os-posix.h and patched for
targetting Emscripten.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
Link: https://lore.kernel.org/r/9fc7b106ecf86675b4532bd6778b7b5945442f89.1745820062.git.ktokunaga.mail@gmail.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
MAINTAINERS
include/qemu/osdep.h
include/system/os-wasm.h [new file with mode: 0644]
os-wasm.c [new file with mode: 0644]