On 24/02/2024 23.38, Paolo Bonzini wrote:
On Fri, Feb 23, 2024 at 8:56 PM BALATON Zoltan <bala...@eik.bme.hu> wrote:
-    if (!lasi_dev && machine->enable_graphics) {
+    if (!lasi_dev && machine->enable_graphics && defaults_enabled()) {

Do we need the defaults_enabled() here? Isn't enable_graphics already
disabled if defaults_enabled() is not set?

Isn't enable_graphics controlled by -nographic and defaults_enabled
controlled by -nodefaults? I think they are independent but maybe that
does not answer the question if it's needed or not.

Indeed they are different. The idea is that if graphics are disabled
you interact with a serial console so you don't need keyboard or
mouse; and if default devices are disabled of course you create as
little as possible and leave everything to the user.

Indeed, I just double-checked and they are independent, sorry for mis-remembering that.

 Thomas


Reply via email to