From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gvdmu-000727-Hf for qemu-devel@nongnu.org; Sat, 16 Dec 2006 12:57:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gvdms-0006yl-Fn for qemu-devel@nongnu.org; Sat, 16 Dec 2006 12:57:32 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gvdms-0006ya-Ab for qemu-devel@nongnu.org; Sat, 16 Dec 2006 12:57:30 -0500 Received: from [128.83.139.10] (helo=mail.cs.utexas.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gvdms-0001fS-DM for qemu-devel@nongnu.org; Sat, 16 Dec 2006 12:57:30 -0500 Received: from [192.168.1.102] (cpe-70-112-17-156.austin.res.rr.com [70.112.17.156]) (authenticated bits=0) by mail.cs.utexas.edu (8.13.8/8.13.8) with ESMTP id kBGHvOfd027052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 16 Dec 2006 11:57:26 -0600 (CST) Message-ID: <4584337D.6040706@cs.utexas.edu> Date: Sat, 16 Dec 2006 11:57:17 -0600 From: Anthony Liguori MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 0/3] Add options to make writing a front end easier Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Howdy, I've been working on a QEMU front end for a bit now. The following patch introduces a number of things to make writing front ends in general a bit easier. This includes making the char devices exposable as unix sockets and adding a daemonize option. Unix sockets are useful for a front end because their permissions can be controlled and it's easier to guarantee uniqueness (verses trying to find an unused TCP port). The daemonize option is useful as it provides a deterministic way to know that QEMU is ready to accept connections (for something like VNC). Otherwise, you have to use a connect loop and timeout attempting to connect. This gets particularly ugly when an error occurs for some reason. I've made an attempt to support the Win32 build but I haven't verified that current CVS is buildable (my changes shouldn't make it any worse). Regards, Anthony Liguori