qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [patch 09/14] qemu: introduce qemu_init_main_loop


From: mtosatti
Subject: [Qemu-devel] [patch 09/14] qemu: introduce qemu_init_main_loop
Date: Wed, 22 Apr 2009 16:15:13 -0300
User-agent: quilt/0.46-1

Hook to allow iothread initialization.

Signed-off-by: Marcelo Tosatti <address@hidden>

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;
 

-- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]