From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAznI-0006j0-1Q for qemu-devel@nongnu.org; Fri, 23 Mar 2012 04:24:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAzn9-0006Sc-N3 for qemu-devel@nongnu.org; Fri, 23 Mar 2012 04:24:19 -0400 Received: from e23smtp09.au.ibm.com ([202.81.31.142]:57160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAzn9-0006S8-5s for qemu-devel@nongnu.org; Fri, 23 Mar 2012 04:24:11 -0400 Received: from /spool/local by e23smtp09.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 23 Mar 2012 09:14:13 +1000 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q2N8I2vT3645480 for ; Fri, 23 Mar 2012 19:18:02 +1100 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q2N8O2rE018385 for ; Fri, 23 Mar 2012 19:24:03 +1100 From: Raghavendra K T Date: Fri, 23 Mar 2012 13:53:31 +0530 Message-Id: <20120323082310.17193.22446.sendpatchset@codeblue> In-Reply-To: <20120323082242.17193.16289.sendpatchset@codeblue> References: <20120323082242.17193.16289.sendpatchset@codeblue> Subject: [Qemu-devel] [PATCH 1/2] QEMU kvm: Add PV_UNHALT feature support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity , Jan Kiszka Cc: Anthony Liguori , KVM , Qemu-devel , Marcelo Tosatti , Srivatsa Vaddagiri , Alexander Graf From: Raghavendra K T Extend the KVM Hypervisor to enable PVLOCK_KICK feature that allows a vcpu to kick the halted vcpu to continue with execution in PV ticket spinlock. Signed-off-by: Srivatsa Vaddagiri Signed-off-by: Raghavendra K T --- diff --git a/target-i386/kvm.c b/target-i386/kvm.c index e74a9e4..dbebd3a 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -98,6 +98,7 @@ struct kvm_para_features { { KVM_CAP_NOP_IO_DELAY, KVM_FEATURE_NOP_IO_DELAY }, { KVM_CAP_PV_MMU, KVM_FEATURE_MMU_OP }, { KVM_CAP_ASYNC_PF, KVM_FEATURE_ASYNC_PF }, + { KVM_CAP_PV_UNHALT, KVM_FEATURE_PV_UNHALT }, { -1, -1 } };