aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2013-06-03 15:38:43 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2013-06-03 15:41:26 +0000
commita7d4207d378069a5bb3175a131e8fdedd39ef97d (patch)
treee6823e37342f9eddd2ab0f47b9ddfb234a9832d0 /vl.c
parent49fa9881b2358e390e9e9466ddde74e995927efa (diff)
downloadqemu-a7d4207d378069a5bb3175a131e8fdedd39ef97d.zip
qemu-a7d4207d378069a5bb3175a131e8fdedd39ef97d.tar.gz
qemu-a7d4207d378069a5bb3175a131e8fdedd39ef97d.tar.bz2
main_loop: do not set nonblocking if xen_enabled()
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> CC: qemu-stable@nongnu.org
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 510d2c2..47ab45d 100644
--- a/vl.c
+++ b/vl.c
@@ -2022,7 +2022,7 @@ static void main_loop(void)
int64_t ti;
#endif
do {
- nonblocking = !kvm_enabled() && last_io > 0;
+ nonblocking = !kvm_enabled() && !xen_enabled() && last_io > 0;
#ifdef CONFIG_PROFILER
ti = profile_getclock();
#endif