KVM: x86: Drop vm_init_tsc
This is used only by the VMX code, and is not done properly; if the TSC is indeed backwards, it is out of sync, and will need proper handling in the logic at each and every CPU change. For now, drop this test during init as misguided. Signed-off-by: Zachary Amsden <zamsden@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:

committed by
Avi Kivity

parent
45bf21a8ce
commit
ae38436b78
@@ -5495,8 +5495,6 @@ struct kvm *kvm_arch_create_vm(void)
|
||||
/* Reserve bit 0 of irq_sources_bitmap for userspace irq source */
|
||||
set_bit(KVM_USERSPACE_IRQ_SOURCE_ID, &kvm->arch.irq_sources_bitmap);
|
||||
|
||||
rdtscll(kvm->arch.vm_init_tsc);
|
||||
|
||||
return kvm;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user