From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tix3j-0003b7-91 for qemu-devel@nongnu.org; Wed, 12 Dec 2012 19:53:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tix3g-0002NT-Fb for qemu-devel@nongnu.org; Wed, 12 Dec 2012 19:53:55 -0500 Received: from co9ehsobe004.messaging.microsoft.com ([207.46.163.27]:44659 helo=co9outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tix3g-0002NO-74 for qemu-devel@nongnu.org; Wed, 12 Dec 2012 19:53:52 -0500 Date: Wed, 12 Dec 2012 18:53:46 -0600 From: Scott Wood References: <20121212031856.GA26121@buserror.net> <50C8B0A5.90805@barfooze.de> <50C8B6AC.10703@suse.de> In-Reply-To: <50C8B6AC.10703@suse.de> (from afaerber@suse.de on Wed Dec 12 10:54:04 2012) Message-ID: <1355360026.28445.24@snotra> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; delsp=Yes; format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC PATCH] Allow building without graphics support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?iso-8859-1?q?F=E4rber?= Cc: Stefan Weil , Robert Schiele , qemu-devel@nongnu.org, John Spencer , Gerd Hoffmann On 12/12/2012 10:54:04 AM, Andreas F=E4rber wrote: > Am 12.12.2012 17:28, schrieb John Spencer: > > On 12/12/2012 04:18 AM, Scott Wood wrote: > >> QEMU is sometimes used in embedded contexts, where graphical =20 > support > >> is unnecessary. The ability to turn off graphics support not only > >> saves some space, but it eliminates the dependency on pixman. > >> > >> Signed-off-by: Scott Wood > >> --- > >> There are undoubtedly some rough edges that need to be cleaned up =20 > and > >> other parts of graphics code that could be compiled out -- this is =20 > mainly > >> meant to see what people think of the concept. > >> > >> My immediate motivation was that the QEMU-supplied pixman was =20 > being a > >> pain to cross compile (especially without hacking up the generated =20 > QEMU > >> makefiles to pass additional things to pixman's configure), and in > >> general it would be nice to not have to carry around graphical =20 > baggage > >> when running on hardware that doesn't even have a display (so I =20 > was more > >> inclined to do this than to spend effort fixing the pixman build). > >> --- > > > > very nice, i hope this one makes it upstream. > > it's always good to minimize external dependencies, or make them > > optional when they're unneeded in some cases. >=20 > There is already a patch by Robert Schiele on the list, let's not > reinvent the wheel here. That part should be pretty uncontroversial. > What this patch does on top is prone to clash with a number of ongoing > refactorings so I'd rather hold that off a bit. Ah, didn't notice that -- though tying it to CONFIG_USER_ONLY doesn't =20 help my use case. -Scott=