]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kvm: nVMX: Restore exit qual for VM-entry failure due to MSR loading
authorJim Mattson <jmattson@google.com>
Wed, 30 May 2018 23:00:02 +0000 (16:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Aug 2018 11:07:10 +0000 (13:07 +0200)
commit969ef156934739565a725249d7eda79846fe53da
treef52f573d58f5e369888b60d065eb603eef33e90c
parent41b5285e24173c0d20aab129111acccff9dbcb9f
kvm: nVMX: Restore exit qual for VM-entry failure due to MSR loading

[ Upstream commit 0b88abdc3f964c28ec03bc69eb17cb6b3b034564 ]

This exit qualification was inadvertently dropped when the two
VM-entry failure blocks were coalesced.

Fixes: e79f245ddec1 ("X86/KVM: Properly update 'tsc_offset' to represent the running guest")
Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/vmx.c