[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] [Qemu-devel] QEMU without X11 support
From: |
Peter Maydell |
Subject: |
Re: [Qemu-discuss] [Qemu-devel] QEMU without X11 support |
Date: |
Fri, 13 Oct 2017 17:08:49 +0100 |
On 13 October 2017 at 08:00, Gerd Hoffmann <address@hidden> wrote:
> On Thu, 2017-10-12 at 16:25 -0400, hanji unit wrote:
>> Hello, is it possible to run (or rebuild modifying build flags) QEMU
>> without support for X11 window system integration?
>
> ./configure --disable-gtk --disable-sdl --disable-opengl
You can also use the runtime -display options (assuming
your development environment has the libraries
and your runtime environment has them installed, there's
no harm in having a QEMU that was built with gtk support
and not using the gtk UI.)
There are a couple of parts to this:
(1) does your guest OS require a graphics device?
(eg typically Windows does, ARM Linux will happily use
a serial port)
(2) if you do need a graphics device, where does the
output go?
(eg you can tell QEMU to just not show graphics at
all with -display none, use -display vnc to for a VNC
server, etc. Some of the -display options will use
X11, and some won't.)
(3) do you want to specifically avoid any dynamic
library dependency between QEMU and the X11 libs,
or do you just not want to have to use X11 to
display?
(see above about compiling out if necessary)
thanks
-- PMM