KVM: VMX: Remove redundant check in vm_need_virtualize_apic_accesses()
authorGui Jianfeng <guijianfeng@cn.fujitsu.com>
Fri, 29 Jan 2010 07:36:59 +0000 (15:36 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:36:06 +0000 (12:36 -0300)
commit6d3e435e708fa32f99b780caf6c5508a606a513b
tree49b14a9644ff1a98d9352c42d770175b2f3d952f
parent59200273c4d07ddf99dd3c8d91b90bb170457fc3
KVM: VMX: Remove redundant check in vm_need_virtualize_apic_accesses()

flexpriority_enabled implies cpu_has_vmx_virtualize_apic_accesses() returning
true, so we don't need this check here.

Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c