From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tix7k-0004mj-5q for qemu-devel@nongnu.org; Wed, 12 Dec 2012 19:58:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tix7f-0003eQ-HD for qemu-devel@nongnu.org; Wed, 12 Dec 2012 19:58:04 -0500 Received: from db3ehsobe005.messaging.microsoft.com ([213.199.154.143]:41003 helo=db3outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tix7f-0003eA-5p for qemu-devel@nongnu.org; Wed, 12 Dec 2012 19:57:59 -0500 Date: Wed, 12 Dec 2012 18:57:51 -0600 From: Scott Wood In-Reply-To: <50C837BD.4020604@redhat.com> (from kraxel@redhat.com on Wed Dec 12 01:52:29 2012) Message-ID: <1355360271.28445.25@snotra> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; 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: Gerd Hoffmann Cc: Anthony Liguori , qemu-devel@nongnu.org On 12/12/2012 01:52:29 AM, Gerd Hoffmann wrote: > On 12/12/12 04:18, Scott Wood wrote: > > QEMU is sometimes used in embedded contexts, where graphical support > > is unnecessary. The ability to turn off graphics support not only > > saves some space, but it eliminates the dependency on pixman. >=20 > We have tons of hand-crafted pixel shuffeling code all over the place > which I want replace with pixman library calls. It's a long road and > will take quite some time. >=20 > I wanna have pixman as core service in qemu for that, not some =20 > optional > add-on. Why? Isn't modularity a good thing? It can still be a core service =20 for any part of QEMU that deals with graphics. > > My immediate motivation was that the QEMU-supplied pixman was being =20 > a > > pain to cross compile (especially without hacking up the generated =20 > QEMU > > makefiles to pass additional things to pixman's configure), >=20 > We pass on cross-prefix to pixman's configure, so it should > JustWork[tm]. That's actually what was breaking it (I gave more details in another =20 e-mail in this thread). cross-prefix and host tuple are not quite the =20 same thing. > > 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 was =20 > more > > inclined to do this than to spend effort fixing the pixman build). >=20 > I run qemu on headless machines alot, then connect via vnc/spice ... So then don't turn off graphics support in your build, just as you =20 don't turn off vnc/spice. :-P Another thing that is missing on the hardware I'm talking about is a =20 hard drive, so overly large qemu binaries are also not fun. -Scott=