]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Remove vmx->hv_deadline_tsc initialization from vmx_vcpu_setup()
authorXiaoyao Li <xiaoyao.li@intel.com>
Sun, 20 Oct 2019 09:10:59 +0000 (17:10 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Oct 2019 11:42:52 +0000 (13:42 +0200)
commite18d938689d95b00f6e765d145c371bd6158bed8
tree0fbf5850c37f2264429f9e28233abf2704ae2668
parent3d431030c7ddbe569c001aec0262081455e3264d
KVM: VMX: Remove vmx->hv_deadline_tsc initialization from vmx_vcpu_setup()

... It can be removed here because the same code is called later in
vmx_vcpu_reset() as the flow:

kvm_arch_vcpu_setup()
-> kvm_vcpu_reset()
-> vmx_vcpu_reset()

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c