From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [Patch] Make kvm sleep if eflag is unset Date: Thu, 25 Oct 2007 20:16:28 +0200 Message-ID: <4720DD7C.9030702@qumranet.com> References: <471F6E83.7000404@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org Return-path: In-Reply-To: <471F6E83.7000404-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Dor Laor wrote: > [PATCH] Make kvm Sleep if eflag is unset. > > The main loop checks whether a sleep is needed (kvm_main_loop_wait). > If there is a need to sleep it polls 10msec for signals and > select input from the devices. > Otherwise it enters guest mode. > > In case halt is on and there is pending irq we should also > check if the eflags in set or not. > This fixes spinning on the boot loader when the disk is damanged. > Applied, thanks. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/