aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAvi Kivity <[email protected]>2010-09-21 17:59:43 +0000
committerMarcelo Tosatti <[email protected]>2010-09-23 14:31:56 +0000
commitca242ac9960dc61530e25a2c190e4e13fd5f1ecb (patch)
tree96ecac4191e1e1146002df587d0076e6e61e63d0 /tools/perf/scripts/python
parentKVM: fix irqfd assign/deassign race (diff)
downloadkernel-ca242ac9960dc61530e25a2c190e4e13fd5f1ecb.tar.gz
kernel-ca242ac9960dc61530e25a2c190e4e13fd5f1ecb.zip
KVM: Fix reboot on Intel hosts
When we reboot, we disable vmx extensions or otherwise INIT gets blocked. If a task on another cpu hits a vmx instruction, it will fault if vmx is disabled. We trap that to avoid a nasty oops and spin until the reboot completes. Problem is, we sleep with interrupts disabled. This blocks smp_send_stop() from running, and the reboot process halts. Fix by enabling interrupts before spinning. KVM-Stable-Tag. Signed-off-by: Avi Kivity <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions