summaryrefslogtreecommitdiff
path: root/qemu-timer.c
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2010-04-12 10:45:04 -0300
committerMarcelo Tosatti <mtosatti@redhat.com>2010-04-12 10:45:04 -0300
commita1b705841caa33fca0b95928505c01d5105b706f (patch)
tree5799627d70e43955d4180e75b6f9dd1202abf439 /qemu-timer.c
parent5c781061a45abe1855ad0a95d834336da574703c (diff)
qemu-kvm: main_loop_wait now takes blocking/nonblocking argument
Otherwise qemu-kvm iothread never sleeps on select(). Reported-by: "David S. Ahern" <daahern@cisco.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'qemu-timer.c')
-rw-r--r--qemu-timer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-timer.c b/qemu-timer.c
index bdc820671..6021ad8ac 100644
--- a/qemu-timer.c
+++ b/qemu-timer.c
@@ -182,6 +182,8 @@ static int64_t cpu_get_clock(void)
}
}
+/* FIXME: qemu-kvm hack */
+#define CONFIG_IOTHREAD 1
#ifndef CONFIG_IOTHREAD
static int64_t qemu_icount_delta(void)
{