summary refs log tree commit diff stats
path: root/monitor/misc.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-05-07 07:48:26 +0200
committerDaniel Henrique Barboza <danielhb413@gmail.com>2022-05-26 17:11:32 -0300
commitf73eb9484bf07812db21de985cb9c1e4ad3c82a9 (patch)
treec5f2d3f3b78c48d712b65ef1a512252be084ef6d /monitor/misc.c
parent2417cbd5916d043e0c56408221fbe9935d0bc8da (diff)
downloadfocaccia-qemu-f73eb9484bf07812db21de985cb9c1e4ad3c82a9.tar.gz
focaccia-qemu-f73eb9484bf07812db21de985cb9c1e4ad3c82a9.zip
pseries: allow setting stdout-path even on machines with a VGA
-machine graphics=off is the usual way to tell the firmware or the OS that the
user wants a serial console.  The pseries machine however does not support
this, and never adds the stdout-path node to the device tree if a VGA device
is provided.  This is in addition to the other magic behavior of VGA devices,
which is to add a keyboard and mouse to the default USB bus.

Split spapr->has_graphics in two variables so that the two behaviors can be
separated: the USB devices remains the same, but the stdout-path is added
even with "-device VGA -machine graphics=off".

Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220507054826.124936-1-pbonzini@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'monitor/misc.c')
0 files changed, 0 insertions, 0 deletions