From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raghavendra K T Subject: [PATCH 3/3] QEMU kvm/i386 : Adding KICK_VCPU capability support in i386 target. Date: Sun, 04 Dec 2011 23:56:23 +0530 Message-ID: <20111204182622.28487.98656.sendpatchset@oc5400248562.ibm.com> References: <20111204182541.28487.68163.sendpatchset@oc5400248562.ibm.com> Cc: Srivatsa Vaddagiri , Raghavendra K T , Suzuki Poulose To: Alexander Graf , kvm@vger.kernel.org, qemu-devel@nongnu.org, Avi Kivity , Marcelo Tosatti , Jan Kiszka Return-path: Received: from e28smtp04.in.ibm.com ([122.248.162.4]:53544 "EHLO e28smtp04.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754934Ab1LDS0e (ORCPT ); Sun, 4 Dec 2011 13:26:34 -0500 Received: from /spool/local by e28smtp04.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 4 Dec 2011 23:56:31 +0530 Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay03.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pB4IQRvd3006544 for ; Sun, 4 Dec 2011 23:56:27 +0530 Received: from d28av01.in.ibm.com (loopback [127.0.0.1]) by d28av01.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pB4IQQBh017163 for ; Sun, 4 Dec 2011 23:56:27 +0530 In-Reply-To: <20111204182541.28487.68163.sendpatchset@oc5400248562.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: Extend the KVM Hypervisor to enable KICK_VCPU 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 5bfc21f..69bce21 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -97,6 +97,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_KICK_VCPU, KVM_FEATURE_KICK_VCPU }, { -1, -1 } }; From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:57108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXGln-0008LX-M2 for qemu-devel@nongnu.org; Sun, 04 Dec 2011 13:26:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXGlm-0006f9-Mt for qemu-devel@nongnu.org; Sun, 04 Dec 2011 13:26:35 -0500 Received: from e28smtp01.in.ibm.com ([122.248.162.1]:38120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXGll-0006ey-Ro for qemu-devel@nongnu.org; Sun, 04 Dec 2011 13:26:34 -0500 Received: from /spool/local by e28smtp01.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 4 Dec 2011 23:56:31 +0530 Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay01.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pB4IQQGi3076224 for ; Sun, 4 Dec 2011 23:56:27 +0530 Received: from d28av01.in.ibm.com (loopback [127.0.0.1]) by d28av01.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pB4IQQBZ017163 for ; Sun, 4 Dec 2011 23:56:26 +0530 From: Raghavendra K T Date: Sun, 04 Dec 2011 23:56:23 +0530 Message-Id: <20111204182622.28487.98656.sendpatchset@oc5400248562.ibm.com> In-Reply-To: <20111204182541.28487.68163.sendpatchset@oc5400248562.ibm.com> References: <20111204182541.28487.68163.sendpatchset@oc5400248562.ibm.com> Subject: [Qemu-devel] [PATCH 3/3] QEMU kvm/i386 : Adding KICK_VCPU capability support in i386 target. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf , kvm@vger.kernel.org, qemu-devel@nongnu.org, Avi Kivity , Marcelo Tosatti , Jan Kiszka Cc: Raghavendra K T , Suzuki Poulose , Srivatsa Vaddagiri Extend the KVM Hypervisor to enable KICK_VCPU 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 5bfc21f..69bce21 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -97,6 +97,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_KICK_VCPU, KVM_FEATURE_KICK_VCPU }, { -1, -1 } };