kvm: vmx: Fix typos in vmentry/vmexit control setting
authorYu Zhang <yu.c.zhang@linux.intel.com>
Thu, 31 Jan 2019 03:26:39 +0000 (11:26 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 20 Feb 2019 21:48:28 +0000 (22:48 +0100)
commitd92935979adba274b1099e67b7f713f6d8413121
tree5f7612b969145982e22129a93ad86276a649f443
parentb4b65b5642d6edd50e35a159f20e793dc478d686
kvm: vmx: Fix typos in vmentry/vmexit control setting

Previously, 'commit f99e3daf94ff ("KVM: x86: Add Intel PT
virtualization work mode")' work mode' offered framework
to support Intel PT virtualization. However, the patch has
some typos in vmx_vmentry_ctrl() and vmx_vmexit_ctrl(), e.g.
used wrong flags and wrong variable, which will cause the
VM entry failure later.

Fixes: 'commit f99e3daf94ff ("KVM: x86: Add Intel PT virtualization work mode")'
Signed-off-by: Yu Zhang <yu.c.zhang@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.h