From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrill Gorcunov Subject: Re: kvm tools: why SDL window does not exit on "poweroff"? Date: Fri, 12 Apr 2013 13:22:51 +0400 Message-ID: <20130412092251.GW1712@moon> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Lin Ming , KVM General , Asias He , Sasha Levin To: Pekka Enberg Return-path: Received: from mail-lb0-f172.google.com ([209.85.217.172]:43644 "EHLO mail-lb0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752712Ab3DLJWz (ORCPT ); Fri, 12 Apr 2013 05:22:55 -0400 Received: by mail-lb0-f172.google.com with SMTP id u10so2447477lbi.3 for ; Fri, 12 Apr 2013 02:22:53 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Apr 12, 2013 at 12:17:58PM +0300, Pekka Enberg wrote: > On Fri, Apr 12, 2013 at 10:42 AM, Lin Ming wrote: > > I run "poweroff" or "halt" in SDL window, but the window does not exit > > although guest is already halted. But qemu can exit properly. > > > > Is it because "hlt" instruction is not emulated? > > Or other reason? > > > > Any hint to fix it? > > IIRC, poweroff is supposed to happen via some dedicated ioport on x86. > Cyrill, didn't you look into this at some point? Hi guys! Not yet :-) Will report once I manage to.