From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N2RpN-0008Kf-BZ for qemu-devel@nongnu.org; Mon, 26 Oct 2009 11:49:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N2RpH-0008Ij-CR for qemu-devel@nongnu.org; Mon, 26 Oct 2009 11:49:47 -0400 Received: from [199.232.76.173] (port=49297 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2RpH-0008IK-1K for qemu-devel@nongnu.org; Mon, 26 Oct 2009 11:49:43 -0400 Received: from qw-out-1920.google.com ([74.125.92.150]:14975) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N2RpG-0007jv-E4 for qemu-devel@nongnu.org; Mon, 26 Oct 2009 11:49:42 -0400 Received: by qw-out-1920.google.com with SMTP id 5so1641368qwc.4 for ; Mon, 26 Oct 2009 08:49:41 -0700 (PDT) Message-ID: <4AE5C513.2030609@codemonkey.ws> Date: Mon, 26 Oct 2009 10:49:39 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH] new SDL keyboard shortcuts to start and stop VM References: <5d6222a80910210924j62505b7dtf298754ce65f1c99@mail.gmail.com> <20091021183503.GA27677@shareable.org> <20091022124036.5df991f3@doriath> <4AE07D06.4080205@codemonkey.ws> <20091022143833.51c48260@doriath> <4AE0A535.3000607@codemonkey.ws> <4AE15DFD.6050203@redhat.com> <4AE1974E.5010303@redhat.com> <4AE1B6A6.3060507@codemonkey.ws> <4AE46EA1.7040505@redhat.com> <4AE5A80D.5040404@codemonkey.ws> <4AE5AEA4.6020500@redhat.com> <4AE5BA62.9040007@codemonkey.ws> <4AE5BB32.4080801@redhat.com> In-Reply-To: <4AE5BB32.4080801@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Kevin Wolf , Mulyadi Santosa , qemu-devel@nongnu.org Avi Kivity wrote: > On 10/26/2009 05:04 PM, Anthony Liguori wrote: >>> Maybe slightly less than 100%. I meant a native GUI in the same >>> process as qemu, but talking to QObjects through a scripting language. >> >> >> The trouble here is that if you want to support being able to close >> the gui and open it again without killing the guest, you need the >> guest to live in a separate process. >> > > Many applications minimize to the system tray without needing two > processes. Minimizing or hiding the window are different use cases. Now, I'm not 100% convinced this use-case is absolutely required but historically, it's always come up in discussions of improving the qemu gui. Imagine the following: A user starts a VM at a physical box. Everythings fine but he wants to return to his workstation so he closes the window. He goes back to his workstation and connects to a VNC server (on a different X server). He wants to now bring up the guest's display. This cannot be achieved with a gui in the same process as qemu. Is it necessary to support? I don't know. I'd love to just replace the SDL display with GTK + Cairo. I'm even somewhat inclined to suggest linking to python so that the gui can be written in python... Regards, Anthony Liguori