Hook to allow iothread initialization. Signed-off-by: Marcelo Tosatti Index: qemu-iothread-4/vl.c =================================================================== --- qemu-iothread-4.orig/vl.c +++ qemu-iothread-4/vl.c @@ -3682,6 +3682,10 @@ void qemu_cpu_kick(void *env) return; } +static void qemu_init_main_loop(void) +{ +} + #ifdef _WIN32 static void host_main_loop_wait(int *timeout) { @@ -5106,6 +5110,7 @@ int main(int argc, char **argv, char **e if (smp_cpus > 1) kqemu_allowed = 0; #endif + qemu_init_main_loop(); linux_boot = (kernel_filename != NULL); net_boot = (boot_devices_bitmap >> ('n' - 'a')) & 0xF; --