From: Raghavendra K T Subject: [PATCH 2/3] QEMU kvm: Syncing linux headers to support KICK_VCPU capability Date: Sun, 04 Dec 2011 23:56:10 +0530 Message-ID: <20111204182609.28487.50046.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, Marcelo Tosatti , Avi Kivity , Jan Kiszka Return-path: Received: from e28smtp02.in.ibm.com ([122.248.162.2]:52368 "EHLO e28smtp02.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754932Ab1LDS0U (ORCPT ); Sun, 4 Dec 2011 13:26:20 -0500 Received: from /spool/local by e28smtp02.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 4 Dec 2011 23:56:17 +0530 Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay01.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pB4IQEnw4210894 for ; Sun, 4 Dec 2011 23:56:14 +0530 Received: from d28av02.in.ibm.com (loopback [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pB4IQDoc010264 for ; Mon, 5 Dec 2011 05:26:13 +1100 In-Reply-To: <20111204182541.28487.68163.sendpatchset@oc5400248562.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: Update the kernel header that adds a hypercall to support pv-ticketlocks. Signed-off-by: Raghavendra K T --- diff --git a/linux-headers/asm-x86/kvm_para.h b/linux-headers/asm-x86/kvm_para.h index f2ac46a..03d3a36 100644 --- a/linux-headers/asm-x86/kvm_para.h +++ b/linux-headers/asm-x86/kvm_para.h @@ -16,12 +16,14 @@ #define KVM_FEATURE_CLOCKSOURCE 0 #define KVM_FEATURE_NOP_IO_DELAY 1 #define KVM_FEATURE_MMU_OP 2 + /* This indicates that the new set of kvmclock msrs * are available. The use of 0x11 and 0x12 is deprecated */ #define KVM_FEATURE_CLOCKSOURCE2 3 #define KVM_FEATURE_ASYNC_PF 4 #define KVM_FEATURE_STEAL_TIME 5 +#define KVM_FEATURE_KICK_VCPU 6 /* The last 8 bits are used to indicate how to interpret the flags field * in pvclock structure. If no bits are set, all flags are ignored. diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h index 07bd557..47ab6ff 100644 --- a/linux-headers/linux/kvm.h +++ b/linux-headers/linux/kvm.h @@ -558,6 +558,7 @@ struct kvm_ppc_pvinfo { #define KVM_CAP_PPC_HIOR 67 #define KVM_CAP_PPC_PAPR 68 #define KVM_CAP_S390_GMAP 71 +#define KVM_CAP_KICK_VCPU 72 #ifdef KVM_CAP_IRQ_ROUTING diff --git a/linux-headers/linux/kvm_para.h b/linux-headers/linux/kvm_para.h index b315e27..e4a0e3e 100644 --- a/linux-headers/linux/kvm_para.h +++ b/linux-headers/linux/kvm_para.h @@ -19,6 +19,7 @@ #define KVM_HC_MMU_OP 2 #define KVM_HC_FEATURES 3 #define KVM_HC_PPC_MAP_MAGIC_PAGE 4 +#define KVM_HC_KICK_CPU 5 /* * hypercalls use architecture specific