diff options
author | Jim Mattson <jmattson@google.com> | 2016-09-06 09:33:21 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-11-02 21:32:17 +0100 |
commit | cf3215d9394aa115d0b34d1c93512f53e425db97 (patch) | |
tree | b3eac0eb674d1bf2d8703e863f9379bebac253fb /lib | |
parent | 66d73e12f2786497424cb611b359e3580978cad7 (diff) | |
download | talos-obmc-linux-cf3215d9394aa115d0b34d1c93512f53e425db97.tar.gz talos-obmc-linux-cf3215d9394aa115d0b34d1c93512f53e425db97.zip |
kvm: nVMX: Fetch VM_INSTRUCTION_ERROR from vmcs02 on vmx->fail
When forwarding a hardware VM-entry failure to L1, fetch the
VM_INSTRUCTION_ERROR field from vmcs02 before loading vmcs01.
(Note that there is an implicit assumption that the VM-entry failure was
on the first VM-entry to vmcs02 after nested_vmx_run; otherwise, L1 is
going to be very confused.)
Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Peter Feiner <pfeiner@google.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions