qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] QEMU without X11 support


From: Paolo Bonzini
Subject: Re: [Qemu-devel] QEMU without X11 support
Date: Sun, 15 Oct 2017 17:39:59 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]