Patchwork [v2,2/3] main_loop: do not set nonblocking if xen_enabled()

login
register
mail settings
Submitter Stefano Stabellini
Date May 29, 2013, 11:34 a.m.
Message ID <1369827271-20921-2-git-send-email-stefano.stabellini@eu.citrix.com>
Download mbox | patch
Permalink /patch/247247/
State New
Headers show

Comments

Stefano Stabellini - May 29, 2013, 11:34 a.m.
Please backport this patch to stable branches.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
CC: qemu-stable@nongnu.org
---
 vl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

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