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@xxxxxxxxxx> 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. > > Paolo -- Arthur Chunqi Li Department of Computer Science School of EECS Peking University Beijing, China -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html