From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] x86 emulator: Fix HLT instruction Date: Sun, 06 Jul 2008 16:52:55 +0300 Message-ID: <4870CE37.8050102@qumranet.com> References: <52d4a3890807060651o20b26e1fh2c2e8957f56d9493@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, riel@surriel.com To: Mohammed Gamal Return-path: Received: from il.qumranet.com ([212.179.150.194]:17723 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755350AbYGFNw5 (ORCPT ); Sun, 6 Jul 2008 09:52:57 -0400 In-Reply-To: <52d4a3890807060651o20b26e1fh2c2e8957f56d9493@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: Mohammed Gamal wrote: > This patch fixes issue encountered with HLT instruction > under FreeDOS's HIMEM XMS Driver. > > The HLT instruction jumped directly to the done label and > skips updating the EIP value, therefore causing the guest > to spin endlessly on the same instruction. > > The patch changes the instruction so that it writes back > the updated EIP value. > > Applied, thanks. -- error compiling committee.c: too many arguments to function