From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5E7V-0001mM-98 for qemu-devel@nongnu.org; Thu, 10 Jul 2014 09:10:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5E7D-0001TS-Bd for qemu-devel@nongnu.org; Thu, 10 Jul 2014 09:10:40 -0400 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:54546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5E7D-0001TF-1W for qemu-devel@nongnu.org; Thu, 10 Jul 2014 09:10:23 -0400 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 10 Jul 2014 14:10:21 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id B509C1B08074 for ; Thu, 10 Jul 2014 14:10:56 +0100 (BST) Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by b06cxnps4075.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s6ADAILG32178298 for ; Thu, 10 Jul 2014 13:10:18 GMT Received: from d06av03.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s6ADAHWV030603 for ; Thu, 10 Jul 2014 07:10:17 -0600 From: Christian Borntraeger Date: Thu, 10 Jul 2014 15:10:35 +0200 Message-Id: <1404997839-29038-2-git-send-email-borntraeger@de.ibm.com> In-Reply-To: <1404997839-29038-1-git-send-email-borntraeger@de.ibm.com> References: <1404997839-29038-1-git-send-email-borntraeger@de.ibm.com> Subject: [Qemu-devel] [PATCH/RFC 1/5] update linux headers with with cpustate changes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: KVM , qemu-devel Cc: linux-s390 , Christian Borntraeger , Alexander Graf , David Hildenbrand , Jens Freimann , Cornelia Huck , Paolo Bonzini Will do a proper headers sync when ready Signed-off-by: Christian Borntraeger --- linux-headers/linux/kvm.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h index f5d2c38..9b584da 100644 --- a/linux-headers/linux/kvm.h +++ b/linux-headers/linux/kvm.h @@ -399,13 +399,18 @@ struct kvm_vapic_addr { __u64 vapic_addr; }; -/* for KVM_SET_MPSTATE */ +/* for KVM_SET_MP_STATE */ +/* not all states are valid on all architectures */ #define KVM_MP_STATE_RUNNABLE 0 #define KVM_MP_STATE_UNINITIALIZED 1 #define KVM_MP_STATE_INIT_RECEIVED 2 #define KVM_MP_STATE_HALTED 3 #define KVM_MP_STATE_SIPI_RECEIVED 4 +#define KVM_MP_STATE_STOPPED 5 +#define KVM_MP_STATE_CHECK_STOP 6 +#define KVM_MP_STATE_OPERATING 7 +#define KVM_MP_STATE_LOAD 8 struct kvm_mp_state { __u32 mp_state; -- 1.8.4.2