title: Guest VM - Exit
body: <p>For the below series of instructions, is an exit possible? Which instruction can potentially cause an exit and which kind of exit? What'd be the reason for the particular type of exit?</p>
  <pre><code>da3bd &lt;mystery&gt;:
  da3bd:  4c 33 1c 24             xor    (%rsp),%r11
  da3c1:  49 89 d0                mov    %rdx,%r8
  da3c4:  49 89 c9                mov    %rcx,%r9
  da3c7:  4d 85 c0                test   %r8,%r8
  da3ca:  75 11                   jne    da3dd
  da3cc:  48 c7 c7 16 6c 00 00    mov    $0x6c16,%rdi
  da3d3:  48 c7 c0 74 a6 6d 81    mov    $0x816da674,%rax
  da3da:  0f 79 f8                vmwrite %rax,%rdi
  da3dd:  9c                      pushf
  da3de:  58                      pop    %rax
  </code></pre>
  <p>Assuming the page contains a mystery function running in CPL0 and the page containing addresses such as 0xda000 – 0xdafff is present in memory with all page tables configured.</p>