From patchwork Wed Feb 17 22:14:43 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Tosatti X-Patchwork-Id: 80094 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1HMIwmo011182 for ; Wed, 17 Feb 2010 22:18:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754022Ab0BQWSy (ORCPT ); Wed, 17 Feb 2010 17:18:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:11607 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753302Ab0BQWSw (ORCPT ); Wed, 17 Feb 2010 17:18:52 -0500 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o1HMIp4K001354 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 17 Feb 2010 17:18:51 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o1HMIoLP007049; Wed, 17 Feb 2010 17:18:51 -0500 Received: from amt.cnet (vpn-11-69.rdu.redhat.com [10.11.11.69]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o1HMIlQf031066; Wed, 17 Feb 2010 17:18:47 -0500 Received: from amt.cnet (amt.cnet [127.0.0.1]) by amt.cnet (Postfix) with ESMTP id 4EA8568A988; Wed, 17 Feb 2010 20:18:15 -0200 (BRST) Received: (from marcelo@localhost) by amt.cnet (8.14.3/8.14.3/Submit) id o1HMIFx0018275; Wed, 17 Feb 2010 20:18:15 -0200 Message-Id: <20100217221701.179465472@redhat.com> User-Agent: quilt/0.47-1 Date: Wed, 17 Feb 2010 20:14:43 -0200 From: Marcelo Tosatti To: kvm@vger.kernel.org Cc: avi@redhat.com, Marcelo Tosatti Subject: [patch uq/master 4/4] qemu: kvm: remove pre-entry exit_request check with iothread enabled References: <20100217221439.351652889@redhat.com> Content-Disposition: inline; filename=kvm-vcpu-loop-exit-request X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 17 Feb 2010 22:18:58 +0000 (UTC) Index: qemu/kvm-all.c =================================================================== --- qemu.orig/kvm-all.c +++ qemu/kvm-all.c @@ -753,11 +753,13 @@ int kvm_cpu_exec(CPUState *env) dprintf("kvm_cpu_exec()\n"); do { +#ifndef CONFIG_IOTHREAD if (env->exit_request) { dprintf("interrupt exit requested\n"); ret = 0; break; } +#endif if (env->kvm_vcpu_dirty) { kvm_arch_put_registers(env);