On 03/19/2010 01:50 AM, Marek Olszewski wrote:
When using VMX without EPT, is it ever possible for a guest to receive a page fault without it first appearing (and being reinjected) in KVM?
Yes. On Intel hosts only, and controlled by bypass_guest_pf.
I'm seeing some strange behavior where accesses to mprotected (but yet to be accessed) memory causes a fault in the guest OS, that I cannot see KVM intercepting.
Look for 'shadow_trap_nonpresent_pte' (which will trap into kvm) and 'shadow_notrap_nonpresent_pte' (which will not) in the code.
-- Do not meddle in the internals of kernels, for they are subtle and quick to panic. -- 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