From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG3b1-0005Jd-OB for qemu-devel@nongnu.org; Thu, 14 Mar 2013 04:33:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UG3au-0007w6-Fj for qemu-devel@nongnu.org; Thu, 14 Mar 2013 04:33:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG3au-0007vv-8Z for qemu-devel@nongnu.org; Thu, 14 Mar 2013 04:33:00 -0400 Date: Thu, 14 Mar 2013 10:32:56 +0200 From: Gleb Natapov Message-ID: <20130314083256.GY11223@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] kvm-unit-test poweroff qemu-kvm via acpi List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Qiu, Shuang" Cc: "qemu-devel@nongnu.org" On Thu, Mar 14, 2013 at 05:26:29AM +0000, Qiu, Shuang wrote: > Hello there, > > I tried to run kvm-unit-test on uq/master branch commit 3e41a753551a906dd9ed66fb0fc34167a6af3ba0 but failed. > The symptom is that qume cannot exit/poweroff gracefully and keeps rebooting. > > > After investigating the code, I find the misbehaviors may be introduced by commint 9ee59f341f9d7a95b3a87b7cac3f74bcdda395fb on uq/master branch, in which commit bochs bios debug ports are removed from the codes, instead poweroff should be done via acpi since then. Instead you should add "-device isa-debug-exit,iobase=0xf4,iosize=0x4" to qemu command line. -- Gleb.