At the very least, it needs to know the following to do a page walk: a) Are the secondary processor based VM-execution controls activated in the pimary processor based execution controls? b) If so, is EPT enabled? c) If so, what is the current EPTP? I don't believe these are available through any existing mechanism. On Fri, Dec 9, 2016 at 7:28 AM, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote: > > > On 06/12/2016 20:02, Jim Mattson wrote: >> For example, a userspace instruction emulator may need access to >> several VMCS fields to determine how to emulate an instruction when >> the vCPU is in virtualized VMX non-root mode. > > Why? Wouldn't KVM_GET_SREGS for example provide values descriptor cache > from the active L2 guest (and thus, indirectly, from the VMCS12)? > > Thanks, > > Paolo -- 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