Skip to contentSkip to conversation

V3 Hypervisor detection and tsc_reliable feature definition

PATCH In review Alok Kataria 2 participants 2 messages Oct 25, 2008 – Oct 27, 2008

lore
Share & tools
lore
#0 lore raw

cover V3 Hypervisor detection and tsc_reliable feature definition

Hi,

These patches define a framework for hypervisor detection and setting of hypervisor feature bits. We define a X86_FEATURE_TSC_RELIABLE bit which is a synthetic bit. This is set when running under VMware. This feature bit is used to skip TSC checks which can fail on virtualization platform due to timing differences when running on virtual cpus.

Thanks,
Alok

#1 lore raw
Quoted 8 lines · Alok Kataria

Hi,

These patches define a framework for hypervisor detection and setting of hypervisor feature bits. We define a X86_FEATURE_TSC_RELIABLE bit which is a synthetic bit. This is set when running under VMware. This feature bit is used to skip TSC checks which can fail on virtualization platform due to timing differences when running on virtual cpus.

okay, this looks a lot better structurally - the DMI angle and the synthetic CPU flag, and the clocksource smarts are all a clean approach. Peter, any objections?

Ingo