Received: from eggs.gnu.org ([208.118.235.92]:51734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TijfF-0007tI-D6 for qemu-devel@nongnu.org; Wed, 12 Dec 2012 05:35:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tijf5-0004Qa-JQ for qemu-devel@nongnu.org; Wed, 12 Dec 2012 05:35:45 -0500 Received: from indium.canonical.com ([91.189.90.7]:52856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tijf5-0004QO-Dl for qemu-devel@nongnu.org; Wed, 12 Dec 2012 05:35:35 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Tijf4-0000hA-Ej for ; Wed, 12 Dec 2012 10:35:34 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 6DAA52E8079 for ; Wed, 12 Dec 2012 10:35:34 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 12 Dec 2012 10:26:28 -0000 From: Peter Maydell Sender: bounces@canonical.com References: <20121211164752.19821.67677.malonedeb@wampee.canonical.com> Message-Id: <20121212102628.25795.56959.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1089005] Re: Qemu does not shutdown with vnc enabled on OS X Reply-To: Bug 1089005 <1089005@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Interesting -- my experience is that control-C doesn't work at all, even if using the cocoa UI frontend. It's a bug of some kind related to signal handling but I haven't been able to track it down. As far as I could tell with a debugger QEMU never received the SIGTERM at all, which makes no sense to me. As a workaround you can send QEMU a SIGKILL, which will abruptly terminate QEMU (NB that if you have a writable disk image you may find it is corrupt since this is a long way from a clean shutdown). The best approach would be to make the guest cleanly power down the VM, which should cause QEMU to exit automatically. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1089005 Title: Qemu does not shutdown with vnc enabled on OS X Status in QEMU: New Bug description: I am running OS X 10.8.2 and Qemu 1.3.50 from your git repository. Running qemu-system-i386 works fine. I can quit the process using ctrl-c. When I try to use qemu-system-i386 -vnc : ctrl-c does nothing and I have to kill the process trough the activity mo= nitor. Furthermore terminating the process from my java program does not work ei= ther. = I have also posted a question on Stackoverflow: http://stackoverflow.com/= questions/13798367/qemu-does-not-shutdown-with-vnc-enabled-on-os-x Thanks Leander To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1089005/+subscriptions