From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [patch 0/3] partially fix Windows reboot-via-triple-fault Date: Thu, 17 Jul 2008 13:01:10 +0300 Message-ID: <487F1866.1050705@qumranet.com> References: <20080716220709.886199616@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Marcelo Tosatti Return-path: Received: from il.qumranet.com ([212.179.150.194]:26131 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753707AbYGQKBL (ORCPT ); Thu, 17 Jul 2008 06:01:11 -0400 In-Reply-To: <20080716220709.886199616@localhost.localdomain> Sender: kvm-owner@vger.kernel.org List-ID: Marcelo Tosatti wrote: > The following patchset fixes task switch problems seen on installation > of SMP Windows (2000, 2003 and supposedly XP). > > Windows 2003 reboots fine, but crashes during initialization (separate > problem though, also happens with UP installation or with new qemu-kvm > instance). XP not tested yet. > > Windows 2000 is now able to reboot, but crashes early after initialization: > > (triple fault generated, reboot) > > SIPI to vcpu 1 vector 0x10 > SIPI to vcpu 2 vector 0x10 > SIPI to vcpu 3 vector 0x10 > handle_exception: unexpected, vectoring info 0x80000202 intr info 0x80000b0d > handle_exception: unexpected, vectoring info 0x80000202 intr info 0x80000b0d > pending exception: not handled yet > pending exception: not handled yet > > The task switch is initiated via task-gate-on-IDT from an NMI interrupt, > so apparently some state is not properly cleanup up. Ideas? > > Anyway, this changes are supposed to be a step in the right direction. > Applied the first two patched; see comments on the third. -- error compiling committee.c: too many arguments to function