Re: [RFC v5 04/10] linux-user: Implement native-bypass option support

2023-08-25 Thread Richard Henderson
On 8/25/23 03:20, Yeqi Fu wrote: +#if defined(CONFIG_NATIVE_CALL) +/* Set the library for native bypass */ +if (native_lib_path) { +if (g_file_test(native_lib_path, G_FILE_TEST_IS_REGULAR)) { +GString *lib = g_string_new(native_lib_path); +lib = g_string_p

[RFC v5 04/10] linux-user: Implement native-bypass option support

2023-08-25 Thread Yeqi Fu
This commit implements the -native-bypass support in linux-user. The native_calls_enabled() function can be true only when the '-native-bypass' option is given. Signed-off-by: Yeqi Fu --- include/native/native.h | 9 + linux-user/main.c | 38 ++