On 15/10/2017 16:01, Michal Suchánek wrote: >>> ./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.
Right. -nographic's effects can be described in terms of other command-line options, but it is pretty hairy. The effects fall in two categories: 1) -nographic is a shortcut for "-display none -machine graphics=off" 2) it changes the default character device backend from "vc:80Cx24C" (80x24 graphical console) to either "mon:stdio" or "stdio", except for the parallel port whose default becomes simply "null". Paolo