From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: latest git - main thread spinning Date: Mon, 12 Apr 2010 10:54:23 -0300 Message-ID: <20100412135423.GA19521@amt.cnet> References: <4BC29324.5040904@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm-devel To: "David S. Ahern" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:1739 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752018Ab0DLNyn (ORCPT ); Mon, 12 Apr 2010 09:54:43 -0400 Content-Disposition: inline In-Reply-To: <4BC29324.5040904@cisco.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Apr 11, 2010 at 09:27:32PM -0600, David S. Ahern wrote: > With the latest qemu-kvm.git (fresh pull today, 11-April-2010) the main > qemu thread is spinning. > > It looks like the recent sync with qemu.git is the culprit -- > specifically, d6f4ade214a9f74dca9495b83a24ff9c113e4f9a from Paolo on > March 10 changed the semantics of main_loop_wait from a timeout value to > a nonblocking argument. kvm_main_loop() still invokes it with the > argument of 1000 which means the timeout for select is set to 0. > > David David, Just pushed a fix to -next branch. Thanks