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