[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT b03d988] qemu: introduce qemu_init_main_loop (Mar
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT b03d988] qemu: introduce qemu_init_main_loop (Marcelo Tosatti) |
Date: |
Fri, 24 Apr 2009 18:04:55 -0000 |
From: aliguori <address@hidden>
Hook to allow iothread initialization.
Signed-off-by: Marcelo Tosatti <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/address@hidden
c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/vl.c b/vl.c
index 437f41a..dbdbefb 100644
--- a/vl.c
+++ b/vl.c
@@ -3718,6 +3718,11 @@ void qemu_notify_event(void)
}
}
+static int qemu_init_main_loop(void)
+{
+ return 0;
+}
+
#ifdef _WIN32
static void host_main_loop_wait(int *timeout)
{
@@ -5145,6 +5150,10 @@ int main(int argc, char **argv, char **envp)
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-commits] [COMMIT b03d988] qemu: introduce qemu_init_main_loop (Marcelo Tosatti),
Anthony Liguori <=