1 Reply Latest reply on Jan 23, 2009 2:00 PM by thekostya

    Strange VMEXIT directly after VMRUN

    jalsenz

      Hello!

      I'm currently trying to build a simple hypervisor.

      Now I'm seeing a Pagefault VMEXIT (code 4E), directly after the VMRUN (guest rip is not incremented), EXITINFO1 is 0.

      This is especially strange, as the guest should not have paging enabled, and I didn't ask to intercept #PF exceptions.

      I'm running my code in Simnow and nested paging should be enabled (but I get the same error without it.

      The control register state copied from the VMCB is:

      EFER:
      0000000000000000

      CR4:
      0000000000000000

      CR3:
      0000000000000000

      CR0:
      0000000000000011

      DR7:
      0000000000000400

      DR6:
      00000000FFFF0FF0

      RFLAGS:
      0000000000202006

      Can someone tell me what I'm missing here?

       

      Thanks,

       

      Jan