summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorJim Mattson <jmattson@google.com>2017-09-14 16:31:44 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2017-09-15 16:57:15 +0200
commit4f350c6dbcb9000e18907515ec8a7b205ac33c69 (patch)
tree741acab1899ed0e2754fe31ab05a153bd8497647 /arch/powerpc
parentb060ca3b2e9e72ef005e2042476f95ee0b8839e9 (diff)
kvm: nVMX: Handle deferred early VMLAUNCH/VMRESUME failure properly
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>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions