From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Date: Tue, 24 Nov 2009 15:02:42 +0000 Subject: Re: [PATCH] PPC: Sync guest visible MMU state Message-Id: <4B0BF592.9020802@redhat.com> List-Id: References: <1259049003-8028-1-git-send-email-agraf@suse.de> In-Reply-To: <1259049003-8028-1-git-send-email-agraf-l3A5Bk7waGM@public.gmane.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Alexander Graf Cc: kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kvm-ppc , Benjamin Herrenschmidt , linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org On 11/24/2009 09:50 AM, Alexander Graf wrote: > Currently userspace has no chance to find out which virtual address space we're > in and resolve addresses. While that is a big problem for migration, it's also > unpleasent when debugging, as gdb and the monitor don't work on virtual > addresses. > > index 92045a9..1240fcb 100644 > --- a/include/linux/kvm.h > +++ b/include/linux/kvm.h > @@ -492,6 +492,7 @@ struct kvm_ioeventfd { > #ifdef __KVM_HAVE_VCPU_EVENTS > #define KVM_CAP_VCPU_EVENTS 41 > #endif > +#define KVM_CAP_PPC_SEGSTATE 42 > > 42 is already taken (s390 psw and D. Adams), please use 43. -- error compiling committee.c: too many arguments to function From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by ozlabs.org (Postfix) with ESMTP id 4563A1007D1 for ; Wed, 25 Nov 2009 02:02:47 +1100 (EST) Message-ID: <4B0BF592.9020802@redhat.com> Date: Tue, 24 Nov 2009 17:02:42 +0200 From: Avi Kivity MIME-Version: 1.0 To: Alexander Graf Subject: Re: [PATCH] PPC: Sync guest visible MMU state References: <1259049003-8028-1-git-send-email-agraf@suse.de> In-Reply-To: <1259049003-8028-1-git-send-email-agraf@suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: kvm-ppc , kvm@vger.kernel.org, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 11/24/2009 09:50 AM, Alexander Graf wrote: > Currently userspace has no chance to find out which virtual address space we're > in and resolve addresses. While that is a big problem for migration, it's also > unpleasent when debugging, as gdb and the monitor don't work on virtual > addresses. > > index 92045a9..1240fcb 100644 > --- a/include/linux/kvm.h > +++ b/include/linux/kvm.h > @@ -492,6 +492,7 @@ struct kvm_ioeventfd { > #ifdef __KVM_HAVE_VCPU_EVENTS > #define KVM_CAP_VCPU_EVENTS 41 > #endif > +#define KVM_CAP_PPC_SEGSTATE 42 > > 42 is already taken (s390 psw and D. Adams), please use 43. -- error compiling committee.c: too many arguments to function From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] PPC: Sync guest visible MMU state Date: Tue, 24 Nov 2009 17:02:42 +0200 Message-ID: <4B0BF592.9020802@redhat.com> References: <1259049003-8028-1-git-send-email-agraf@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kvm-ppc , Benjamin Herrenschmidt , linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org To: Alexander Graf Return-path: In-Reply-To: <1259049003-8028-1-git-send-email-agraf-l3A5Bk7waGM@public.gmane.org> Sender: kvm-ppc-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: kvm.vger.kernel.org On 11/24/2009 09:50 AM, Alexander Graf wrote: > Currently userspace has no chance to find out which virtual address space we're > in and resolve addresses. While that is a big problem for migration, it's also > unpleasent when debugging, as gdb and the monitor don't work on virtual > addresses. > > index 92045a9..1240fcb 100644 > --- a/include/linux/kvm.h > +++ b/include/linux/kvm.h > @@ -492,6 +492,7 @@ struct kvm_ioeventfd { > #ifdef __KVM_HAVE_VCPU_EVENTS > #define KVM_CAP_VCPU_EVENTS 41 > #endif > +#define KVM_CAP_PPC_SEGSTATE 42 > > 42 is already taken (s390 psw and D. Adams), please use 43. -- error compiling committee.c: too many arguments to function