From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uheek-0002oS-7W for qemu-devel@nongnu.org; Wed, 29 May 2013 07:35:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uheei-0001fG-TY for qemu-devel@nongnu.org; Wed, 29 May 2013 07:35:02 -0400 From: Stefano Stabellini Date: Wed, 29 May 2013 12:34:30 +0100 Message-ID: <1369827271-20921-2-git-send-email-stefano.stabellini@eu.citrix.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v2 2/3] main_loop: do not set nonblocking if xen_enabled() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, xen-devel@lists.xensource.com, Stefano Stabellini , qemu-stable@nongnu.org, anthony.perard@citrix.com, pbonzini@redhat.com, afaerber@suse.de Please backport this patch to stable branches. Signed-off-by: Stefano Stabellini CC: qemu-stable@nongnu.org --- vl.c | 2 +- 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 -- 1.7.2.5 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: [PATCH v2 2/3] main_loop: do not set nonblocking if xen_enabled() Date: Wed, 29 May 2013 12:34:30 +0100 Message-ID: <1369827271-20921-2-git-send-email-stefano.stabellini@eu.citrix.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, xen-devel@lists.xensource.com, Stefano Stabellini , qemu-stable@nongnu.org, anthony.perard@citrix.com, pbonzini@redhat.com, afaerber@suse.de List-Id: xen-devel@lists.xenproject.org Please backport this patch to stable branches. Signed-off-by: Stefano Stabellini CC: qemu-stable@nongnu.org --- vl.c | 2 +- 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 -- 1.7.2.5