Revision 4f350c6dbcb9000e18907515ec8a7b205ac33c69 authored by Jim Mattson on 14 September 2017, 23:31:44 UTC, committed by Paolo Bonzini on 15 September 2017, 14:57:15 UTC
When emulating a nested VM-entry from L1 to L2, several control field validation checks are deferred to the hardware. Should one of these validation checks fail, vcpu_vmx_run will set the vmx->fail flag. When this happens, the L2 guest state is not loaded (even in part), and execution should continue in L1 with the next instruction after the VMLAUNCH/VMRESUME. The VMCS12 is not modified (except for the VM-instruction error field), the VMCS12 MSR save/load lists are not processed, and the CPU state is not loaded from the VMCS12 host area. Moreover, the vmcs02 exit reason is stale, so it should not be consulted for any reason. Signed-off-by: Jim Mattson <jmattson@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent b060ca3
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 1.3 KB |
carta_random.S | -rw-r--r-- | 1.0 KB |
checksum.c | -rw-r--r-- | 2.5 KB |
clear_page.S | -rw-r--r-- | 1.9 KB |
clear_user.S | -rw-r--r-- | 6.0 KB |
copy_page.S | -rw-r--r-- | 2.1 KB |
copy_page_mck.S | -rw-r--r-- | 5.8 KB |
copy_user.S | -rw-r--r-- | 16.7 KB |
csum_partial_copy.c | -rw-r--r-- | 3.0 KB |
do_csum.S | -rw-r--r-- | 10.0 KB |
flush.S | -rw-r--r-- | 2.7 KB |
idiv32.S | -rw-r--r-- | 2.1 KB |
idiv64.S | -rw-r--r-- | 2.1 KB |
io.c | -rw-r--r-- | 2.5 KB |
ip_fast_csum.S | -rw-r--r-- | 2.7 KB |
memcpy.S | -rw-r--r-- | 6.8 KB |
memcpy_mck.S | -rw-r--r-- | 17.4 KB |
memset.S | -rw-r--r-- | 9.1 KB |
strlen.S | -rw-r--r-- | 6.3 KB |
strncpy_from_user.S | -rw-r--r-- | 1.2 KB |
strnlen_user.S | -rw-r--r-- | 957 bytes |
xor.S | -rw-r--r-- | 3.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...