mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
Disable options unsupported on Emscripten
Daemonizing and run-with aren't supported on Emscripten so disable these flags. Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Link: https://lore.kernel.org/r/79c5e591b634762703f3eef6427a192d145799e4.1745820062.git.ktokunaga.mail@gmail.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
0f46bf659f
commit
1a89644240
2 changed files with 4 additions and 4 deletions
|
@ -4862,7 +4862,7 @@ SRST
|
|||
Start right away with a saved state (``loadvm`` in monitor)
|
||||
ERST
|
||||
|
||||
#ifndef _WIN32
|
||||
#if !defined(_WIN32) && !defined(EMSCRIPTEN)
|
||||
DEF("daemonize", 0, QEMU_OPTION_daemonize, \
|
||||
"-daemonize daemonize QEMU after initializing\n", QEMU_ARCH_ALL)
|
||||
#endif
|
||||
|
@ -5249,7 +5249,7 @@ HXCOMM Internal use
|
|||
DEF("qtest", HAS_ARG, QEMU_OPTION_qtest, "", QEMU_ARCH_ALL)
|
||||
DEF("qtest-log", HAS_ARG, QEMU_OPTION_qtest_log, "", QEMU_ARCH_ALL)
|
||||
|
||||
#ifdef CONFIG_POSIX
|
||||
#if defined(CONFIG_POSIX) && !defined(EMSCRIPTEN)
|
||||
DEF("run-with", HAS_ARG, QEMU_OPTION_run_with,
|
||||
"-run-with [async-teardown=on|off][,chroot=dir][user=username|uid:gid]\n"
|
||||
" Set miscellaneous QEMU process lifecycle options:\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue