From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964854Ab2GFKpz (ORCPT ); Fri, 6 Jul 2012 06:45:55 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:20109 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1030211Ab2GFKpo (ORCPT ); Fri, 6 Jul 2012 06:45:44 -0400 X-IronPort-AV: E=Sophos;i="4.77,537,1336320000"; d="scan'208";a="5344504" Message-ID: <4FF6C2E2.5020608@cn.fujitsu.com> Date: Fri, 06 Jul 2012 18:50:10 +0800 From: Wen Congyang User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100413 Fedora/3.0.4-2.fc13 Thunderbird/3.0.4 MIME-Version: 1.0 To: Jan Kiszka CC: kvm list , qemu-devel , "linux-kernel@vger.kernel.org" , Avi Kivity , "Daniel P. Berrange" , KAMEZAWA Hiroyuki , Gleb Natapov Subject: Re: [PATCH 2/7 v6] update linux headers References: <4FF6B188.2060607@cn.fujitsu.com> <4FF6B232.4050502@cn.fujitsu.com> <4FF6BD1D.8020605@siemens.com> In-Reply-To: <4FF6BD1D.8020605@siemens.com> X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/07/06 18:45:40, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/07/06 18:45:41, Serialize complete at 2012/07/06 18:45:41 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At 07/06/2012 06:25 PM, Jan Kiszka Wrote: > On 2012-07-06 11:38, Wen Congyang wrote: >> Signed-off-by: Wen Congyang > > Which kvm.git hash is this referring? Please state this to avoid that we > are merging support for kernel features that are still under review. The following kvm.git: http://git.kernel.org/?p=virt/kvm/kvm.git;a=summary I apply my kvm's patch, and use ./scripts/update-linux-headers.sh to generate this patch. Thanks Wen Congyang > > Jan > >> --- >> linux-headers/asm-x86/kvm_para.h | 2 ++ >> linux-headers/linux/kvm_para.h | 6 ++++++ >> 2 files changed, 8 insertions(+), 0 deletions(-) >> >> diff --git a/linux-headers/asm-x86/kvm_para.h b/linux-headers/asm-x86/kvm_para.h >> index f2ac46a..f9d858f 100644 >> --- a/linux-headers/asm-x86/kvm_para.h >> +++ b/linux-headers/asm-x86/kvm_para.h >> @@ -89,5 +89,7 @@ struct kvm_vcpu_pv_apf_data { >> __u32 enabled; >> }; >> >> +#define KVM_PV_PORT (0x505UL) >> + >> >> #endif /* _ASM_X86_KVM_PARA_H */ >> diff --git a/linux-headers/linux/kvm_para.h b/linux-headers/linux/kvm_para.h >> index 7bdcf93..4fbd625 100644 >> --- a/linux-headers/linux/kvm_para.h >> +++ b/linux-headers/linux/kvm_para.h >> @@ -20,6 +20,12 @@ >> #define KVM_HC_FEATURES 3 >> #define KVM_HC_PPC_MAP_MAGIC_PAGE 4 >> >> +/* The bit of the value read from KVM_PV_PORT */ >> +#define KVM_PV_FEATURE_PANICKED 0 >> + >> +/* The value writen to KVM_PV_PORT */ >> +#define KVM_PV_PANICKED 1 >> + >> /* >> * hypercalls use architecture specific >> */ >> > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wen Congyang Subject: Re: [PATCH 2/7 v6] update linux headers Date: Fri, 06 Jul 2012 18:50:10 +0800 Message-ID: <4FF6C2E2.5020608@cn.fujitsu.com> References: <4FF6B188.2060607@cn.fujitsu.com> <4FF6B232.4050502@cn.fujitsu.com> <4FF6BD1D.8020605@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Gleb Natapov , kvm list , qemu-devel , "linux-kernel@vger.kernel.org" , Avi Kivity , KAMEZAWA Hiroyuki To: Jan Kiszka Return-path: In-Reply-To: <4FF6BD1D.8020605@siemens.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org At 07/06/2012 06:25 PM, Jan Kiszka Wrote: > On 2012-07-06 11:38, Wen Congyang wrote: >> Signed-off-by: Wen Congyang > > Which kvm.git hash is this referring? Please state this to avoid that we > are merging support for kernel features that are still under review. The following kvm.git: http://git.kernel.org/?p=virt/kvm/kvm.git;a=summary I apply my kvm's patch, and use ./scripts/update-linux-headers.sh to generate this patch. Thanks Wen Congyang > > Jan > >> --- >> linux-headers/asm-x86/kvm_para.h | 2 ++ >> linux-headers/linux/kvm_para.h | 6 ++++++ >> 2 files changed, 8 insertions(+), 0 deletions(-) >> >> diff --git a/linux-headers/asm-x86/kvm_para.h b/linux-headers/asm-x86/kvm_para.h >> index f2ac46a..f9d858f 100644 >> --- a/linux-headers/asm-x86/kvm_para.h >> +++ b/linux-headers/asm-x86/kvm_para.h >> @@ -89,5 +89,7 @@ struct kvm_vcpu_pv_apf_data { >> __u32 enabled; >> }; >> >> +#define KVM_PV_PORT (0x505UL) >> + >> >> #endif /* _ASM_X86_KVM_PARA_H */ >> diff --git a/linux-headers/linux/kvm_para.h b/linux-headers/linux/kvm_para.h >> index 7bdcf93..4fbd625 100644 >> --- a/linux-headers/linux/kvm_para.h >> +++ b/linux-headers/linux/kvm_para.h >> @@ -20,6 +20,12 @@ >> #define KVM_HC_FEATURES 3 >> #define KVM_HC_PPC_MAP_MAGIC_PAGE 4 >> >> +/* The bit of the value read from KVM_PV_PORT */ >> +#define KVM_PV_FEATURE_PANICKED 0 >> + >> +/* The value writen to KVM_PV_PORT */ >> +#define KVM_PV_PANICKED 1 >> + >> /* >> * hypercalls use architecture specific >> */ >> > From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sn62r-0006Yc-GT for qemu-devel@nongnu.org; Fri, 06 Jul 2012 06:45:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sn62k-0001xP-Tt for qemu-devel@nongnu.org; Fri, 06 Jul 2012 06:45:53 -0400 Received: from [222.73.24.84] (port=54478 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sn62k-0001wm-H0 for qemu-devel@nongnu.org; Fri, 06 Jul 2012 06:45:46 -0400 Message-ID: <4FF6C2E2.5020608@cn.fujitsu.com> Date: Fri, 06 Jul 2012 18:50:10 +0800 From: Wen Congyang MIME-Version: 1.0 References: <4FF6B188.2060607@cn.fujitsu.com> <4FF6B232.4050502@cn.fujitsu.com> <4FF6BD1D.8020605@siemens.com> In-Reply-To: <4FF6BD1D.8020605@siemens.com> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Qemu-devel] [PATCH 2/7 v6] update linux headers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Gleb Natapov , kvm list , qemu-devel , "linux-kernel@vger.kernel.org" , Avi Kivity , KAMEZAWA Hiroyuki At 07/06/2012 06:25 PM, Jan Kiszka Wrote: > On 2012-07-06 11:38, Wen Congyang wrote: >> Signed-off-by: Wen Congyang > > Which kvm.git hash is this referring? Please state this to avoid that we > are merging support for kernel features that are still under review. The following kvm.git: http://git.kernel.org/?p=virt/kvm/kvm.git;a=summary I apply my kvm's patch, and use ./scripts/update-linux-headers.sh to generate this patch. Thanks Wen Congyang > > Jan > >> --- >> linux-headers/asm-x86/kvm_para.h | 2 ++ >> linux-headers/linux/kvm_para.h | 6 ++++++ >> 2 files changed, 8 insertions(+), 0 deletions(-) >> >> diff --git a/linux-headers/asm-x86/kvm_para.h b/linux-headers/asm-x86/kvm_para.h >> index f2ac46a..f9d858f 100644 >> --- a/linux-headers/asm-x86/kvm_para.h >> +++ b/linux-headers/asm-x86/kvm_para.h >> @@ -89,5 +89,7 @@ struct kvm_vcpu_pv_apf_data { >> __u32 enabled; >> }; >> >> +#define KVM_PV_PORT (0x505UL) >> + >> >> #endif /* _ASM_X86_KVM_PARA_H */ >> diff --git a/linux-headers/linux/kvm_para.h b/linux-headers/linux/kvm_para.h >> index 7bdcf93..4fbd625 100644 >> --- a/linux-headers/linux/kvm_para.h >> +++ b/linux-headers/linux/kvm_para.h >> @@ -20,6 +20,12 @@ >> #define KVM_HC_FEATURES 3 >> #define KVM_HC_PPC_MAP_MAGIC_PAGE 4 >> >> +/* The bit of the value read from KVM_PV_PORT */ >> +#define KVM_PV_FEATURE_PANICKED 0 >> + >> +/* The value writen to KVM_PV_PORT */ >> +#define KVM_PV_PANICKED 1 >> + >> /* >> * hypercalls use architecture specific >> */ >> >