summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2019-04-11 22:18:09 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2019-04-16 16:39:06 +0300
commitc80add0f487e28c48e855245189dc28bd3d5c250 (patch)
tree139d8f5b7b850c20c36672cb3949bfec909f7914 /arch/x86/kvm/x86.c
parent98d9e858fa966bd7132cc21d65e4c89a97f4fe2d (diff)
downloadlinux-c80add0f487e28c48e855245189dc28bd3d5c250.tar.xz
KVM: nVMX: Return -EINVAL when signaling failure in VM-Entry helpers
Most, but not all, helpers that are related to emulating consistency checks for nested VM-Entry return -EINVAL when a check fails. Convert the holdouts to have consistency throughout and to make it clear that the functions are signaling pass/fail as opposed to "resume guest" vs. "exit to userspace". Opportunistically fix bad indentation in nested_vmx_check_guest_state(). Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions