KVM: nVMX: no need to set vcpu->cpu when switching vmcs
authorDavid Hildenbrand <david@redhat.com>
Thu, 24 Aug 2017 18:51:32 +0000 (20:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Oct 2017 12:01:52 +0000 (14:01 +0200)
commit0ee096d0064ca7eddf13ac5f52fd008b6133f501
treecf0f14343f546341d5406b5b7adcc1c93a5c5460
parent9522ea9ef95e03bef2a1886ef3db1bde9d384915
KVM: nVMX: no need to set vcpu->cpu when switching vmcs

vcpu->cpu is not cleared when doing a vmx_vcpu_put/load, so this can be
dropped.

Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c