Re: How to trace every memory access

Arthur Chunqi Li
2013-12-20T14:02:30Z

Hi Paolo,

I want to rebuild the EPT paging structure, so I use kvm_mmu_unload()
followed with kvm_mmu_reload(). But it seems fail because I cannot
trap EPT_VIOLATION I want after the rebuild.

How could I totally rebuild the EPT paging structure?

Arthur

On Fri, Dec 20, 2013 at 7:58 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
> Il 20/12/2013 10:15, Arthur Chunqi Li ha scritto:
>> Hi Paolo,
>>
>> When using EPT in KVM, does every vcpu has an EPT paging structure or
>> all vcpus share one?
>
> All MMU structures are in vcpu->arch.mmu and vcpu->arch.nested_mmu, so
> they're per-VCPU.