From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [Bug] Real mode guests never wake up after an HLT instruction Date: Sun, 22 Jun 2008 10:15:12 +0300 Message-ID: <485DFC00.5070008@qumranet.com> References: <52d4a3890806171502t2f6db2bdi3eef4aed354b2a81@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Mohammed Gamal Return-path: Received: from il.qumranet.com ([212.179.150.194]:33587 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750948AbYFVHO7 (ORCPT ); Sun, 22 Jun 2008 03:14:59 -0400 In-Reply-To: <52d4a3890806171502t2f6db2bdi3eef4aed354b2a81@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: Mohammed Gamal wrote: > CPU Model: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz > KVM version: kvm-69-1687-gd660add > Host Kernel: 2.6.26-rc5 (x86_64) > Guests: FreeDOS and Minix 3.1.2 32-bit > Command: qemu-system-x86_64 -hda /media/sda6/ > > Real mode guests (namely Minix 3 and FreeDOS with HIMEM XMS driver) > freeze after issuing an hlt instruction and never wake up. The problem > occurs both with and without commit 36742c5470. Problem disappears > using -no-kvm switch. > Can you check if halt_request is being set properly? Looking at the code, all seems fine. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.