summary refs log tree commit diff stats
path: root/hw/mips/mips_int.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2022-04-27 14:33:16 +0200
committerThomas Huth <thuth@redhat.com>2022-05-09 08:21:14 +0200
commitf07b3a830ff4ab98ab1cf9dd3f006c55b0fc61f3 (patch)
tree41e3acac27cf360c8ba158a9aa0c9a9c856103be /hw/mips/mips_int.c
parent333f944c15e7a6f5503f92d80529a368519d6638 (diff)
downloadfocaccia-qemu-f07b3a830ff4ab98ab1cf9dd3f006c55b0fc61f3.tar.gz
focaccia-qemu-f07b3a830ff4ab98ab1cf9dd3f006c55b0fc61f3.zip
softmmu/vl: Fence 'xenfb' if Xen support is not compiled in
The 'xenfb' parameter for the '-vga' command line option is currently
always enabled unconditionally (since the xenfb is not a proper QOM
device that could be tested via its class name). That means it also
shows up if Xen is not enabled at all, e.g. like this:

 $ ./qemu-system-sparc -vga help
 none                 no graphic card
 xenfb                Xen paravirtualized framebuffer
 tcx                  TCX framebuffer (default)
 cg3                  CG3 framebuffer

Let's avoid this situation by fencing the parameter with the
CONFIG_XEN_BACKEND switch.

Message-Id: <20220427123316.329312-1-thuth@redhat.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/mips/mips_int.c')
0 files changed, 0 insertions, 0 deletions