i386/kvm: introduce tsc_is_stable_and_known()
commit4bb95b82df7ea4a1c7de15649dd16a70a19e6bab
authorLadi Prosek <lprosek@redhat.com>
Mon, 7 Aug 2017 08:57:02 +0000 (7 10:57 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 Sep 2017 12:09:33 +0000 (19 14:09 +0200)
treea3707a7c9368605595106dc881cad534178d1f1b
parentddb98b5a9ff27b21100da1d701ddf5da34c66673
i386/kvm: introduce tsc_is_stable_and_known()

Move the "is TSC stable and known" condition to a reusable helper.

Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170807085703.32267-4-lprosek@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/kvm.c