[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [7239] qemu: introduce qemu_init_main_loop (Marcelo Tosatti
From: |
Anthony Liguori |
Subject: |
[Qemu-devel] [7239] qemu: introduce qemu_init_main_loop (Marcelo Tosatti) |
Date: |
Fri, 24 Apr 2009 18:03:26 +0000 |
Revision: 7239
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7239
Author: aliguori
Date: 2009-04-24 18:03:25 +0000 (Fri, 24 Apr 2009)
Log Message:
-----------
qemu: introduce qemu_init_main_loop (Marcelo Tosatti)
Hook to allow iothread initialization.
Signed-off-by: Marcelo Tosatti <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Modified Paths:
--------------
trunk/vl.c
Modified: trunk/vl.c
===================================================================
--- trunk/vl.c 2009-04-24 18:03:20 UTC (rev 7238)
+++ trunk/vl.c 2009-04-24 18:03:25 UTC (rev 7239)
@@ -3718,6 +3718,11 @@
}
}
+static int qemu_init_main_loop(void)
+{
+ return 0;
+}
+
#ifdef _WIN32
static void host_main_loop_wait(int *timeout)
{
@@ -5145,6 +5150,10 @@
if (smp_cpus > 1)
kqemu_allowed = 0;
#endif
+ if (qemu_init_main_loop()) {
+ fprintf(stderr, "qemu_init_main_loop failed\n");
+ exit(1);
+ }
linux_boot = (kernel_filename != NULL);
net_boot = (boot_devices_bitmap >> ('n' - 'a')) & 0xF;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [7239] qemu: introduce qemu_init_main_loop (Marcelo Tosatti),
Anthony Liguori <=