From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwiCz-0005Gn-BE for qemu-devel@nongnu.org; Wed, 22 Apr 2009 15:34:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwiCq-0005Di-U0 for qemu-devel@nongnu.org; Wed, 22 Apr 2009 15:34:11 -0400 Received: from [199.232.76.173] (port=44674 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwiCq-0005DC-Gz for qemu-devel@nongnu.org; Wed, 22 Apr 2009 15:34:04 -0400 Received: from mx2.redhat.com ([66.187.237.31]:37802) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LwiCp-0000il-HG for qemu-devel@nongnu.org; Wed, 22 Apr 2009 15:34:04 -0400 Message-Id: <20090422192120.354511083@localhost.localdomain> References: <20090422191504.975476933@localhost.localdomain> Date: Wed, 22 Apr 2009 16:15:13 -0300 From: mtosatti@redhat.com Content-Disposition: inline; filename=qemu-init-main-loop Subject: [Qemu-devel] [patch 09/14] qemu: introduce qemu_init_main_loop List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, aliguori@us.ibm.com Cc: Marcelo Tosatti 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; --