On Fri, 13 Oct 2017 17:08:49 +0100 Peter Maydell <peter.mayd...@linaro.org> wrote:
> On 13 October 2017 at 08:00, Gerd Hoffmann <kra...@redhat.com> 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.) iirc you also need to specify -nographic so qemu does not try to use the X11 GUI to display your serial output. HTH Michal