From: Avi Kivity Date: Tue, 21 Sep 2010 17:59:43 +0000 (+0200) Subject: KVM: Fix reboot on Intel hosts X-Git-Tag: v2.6.36-rc6~49^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca242ac9960dc61530e25a2c190e4e13fd5f1ecb;p=pandora-kernel.git 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 Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed