summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorGabriel L. Somlo <gsomlo@gmail.com>2014-05-07 16:52:13 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2014-05-08 15:40:49 +0200
commit87c00572ba05aa8c9db118da75c608f47eb10b9e (patch)
tree484e8cc1da97c7302c739364ee0af9bd68cebb0e /tools/perf/scripts/python/check-perf-trace.py
parentb63cf42fd1d8c18fab71222321aaf356f63089c9 (diff)
kvm: x86: emulate monitor and mwait instructions as nop
Treat monitor and mwait instructions as nop, which is architecturally correct (but inefficient) behavior. We do this to prevent misbehaving guests (e.g. OS X <= 10.7) from crashing after they fail to check for monitor/mwait availability via cpuid. Since mwait-based idle loops relying on these nop-emulated instructions would keep the host CPU pegged at 100%, do NOT advertise their presence via cpuid, to prevent compliant guests from using them inadvertently. Signed-off-by: Gabriel L. Somlo <somlo@cmu.edu> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions