qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Qemu-ppc] [PATCH -V3 2/4] target-ppc: Fix page table l


From: Aneesh Kumar K.V
Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH -V3 2/4] target-ppc: Fix page table lookup with kvm enabled
Date: Mon, 26 Aug 2013 09:03:42 +0530
User-agent: Notmuch/0.15.2+167~g5306b2b (http://notmuchmail.org) Emacs/24.3.50.1 (x86_64-unknown-linux-gnu)

Benjamin Herrenschmidt <address@hidden> writes:

> On Sun, 2013-08-25 at 19:32 +0100, Alexander Graf wrote:
>> > +     * At this point we are only interested in reading only bolted
>> entries
>> > +     */
>> > +    ghf.flags = KVM_GET_HTAB_BOLTED_ONLY;
>> > +    ghf.start_index = index;
>> > +    htab_fd = kvm_vm_ioctl(kvm_state, KVM_PPC_GET_HTAB_FD, &ghf);
>> 
>> We should cache this.
>> 
> Also why bolted only ?

because non bolted entries could be invalidated and reused by the time
we look at the returned hpte values. I am not sure, whether it is ok or
we need to make sure such a thing doesn't happen. For the use case i am
looking at, ie, to dump the kernel address looking at bolted entries was
enough. 

-aneesh




reply via email to

[Prev in Thread] Current Thread [Next in Thread]