diff options
author | H. Peter Anvin <[email protected]> | 2010-05-07 16:57:28 -0700 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2010-05-07 17:13:04 -0700 |
commit | e08cae4181af9483b04ecfac48f01c8e5a5f27bf (patch) | |
tree | 2cab8da747a6524694cc19f247d8bc4f157a601c /tools/perf/util/trace-event-scripting.c | |
parent | 9fa02317429449e8176c9bb6da3ac00eb14d52d3 (diff) |
x86: Clean up the hypervisor layer
Clean up the hypervisor layer and the hypervisor drivers, using an ops
structure instead of an enumeration with if statements.
The identity of the hypervisor, if needed, can be tested by testing
the pointer value in x86_hyper.
The MS-HyperV private state is moved into a normal global variable
(it's per-system state, not per-CPU state). Being a normal bss
variable, it will be left at all zero on non-HyperV platforms, and so
can generally be tested for HyperV-specific features without
additional qualification.
Signed-off-by: H. Peter Anvin <[email protected]>
Acked-by: Greg KH <[email protected]>
Cc: Hank Janssen <[email protected]>
Cc: Alok Kataria <[email protected]>
Cc: Ky Srinivasan <[email protected]>
LKML-Reference: <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions