From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIQB9-0004Uo-0L for qemu-devel@nongnu.org; Fri, 25 Jan 2008 10:09:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIQB6-0004UE-GD for qemu-devel@nongnu.org; Fri, 25 Jan 2008 10:09:14 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIQB6-0004UB-Bl for qemu-devel@nongnu.org; Fri, 25 Jan 2008 10:09:12 -0500 Received: from rv-out-0910.google.com ([209.85.198.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIQB5-0004aE-RR for qemu-devel@nongnu.org; Fri, 25 Jan 2008 10:09:12 -0500 Received: by rv-out-0910.google.com with SMTP id g11so1593202rvb.22 for ; Fri, 25 Jan 2008 07:09:02 -0800 (PST) Message-ID: <4799FB94.5070406@codemonkey.ws> Date: Fri, 25 Jan 2008 09:09:08 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Allow AF_UNIX sockets to be disabled on non-Windows References: <18329.63445.210933.809690@mariner.uk.xensource.com> In-Reply-To: <18329.63445.210933.809690@mariner.uk.xensource.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Ian Jackson wrote: > The patch below makes it possible to disable AF_UNIX (unix-domain) > sockets in host environments which do not define _WIN32, by adding > -DNO_UNIX_SOCKETS to the compiler flags. This is useful in the > effectively-embedded qemu host which are going to be using for device > emulation in Xen. > > Ian. > Presumably, this is because you're compiling for MiniOS? Why not just add a _MINIOS define and then add an appropriate #ifndef. Regards, Anthony Liguori