From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Borntraeger Subject: [PATCH/RFC 1/5] update linux headers with with cpustate changes Date: Thu, 10 Jul 2014 15:10:35 +0200 Message-ID: <1404997839-29038-2-git-send-email-borntraeger@de.ibm.com> References: <1404997839-29038-1-git-send-email-borntraeger@de.ibm.com> Cc: Paolo Bonzini , Alexander Graf , linux-s390 , Cornelia Huck , Jens Freimann , David Hildenbrand , Christian Borntraeger To: KVM , qemu-devel Return-path: Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:43327 "EHLO e06smtp13.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753796AbaGJNKX (ORCPT ); Thu, 10 Jul 2014 09:10:23 -0400 Received: from /spool/local by e06smtp13.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 In-Reply-To: <1404997839-29038-1-git-send-email-borntraeger@de.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: 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