Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: aarch64-virt-base: fix display support
Fix display support. Switch to disabled by default if no display backend is set. $GUEST_DISPLAY configures QEMU -display <backend> if configured (variable not empty). Empty variable will use -nographic. This also uses -nodefaults regardless of the setting of the display to replicate the same setup in x86_64 example. From documentation [1]: Don’t create default devices. Normally, QEMU sets the default devices like serial port, parallel port, virtual console, monitor device, VGA adapter, floppy and CD-ROM drive and others. The -nodefaults option will disable all those default devices. [1] Manual for -nodefaults. https://www.qemu.org/docs/master/system/qemu-manpage.html https://www.qemu.org/docs/master/system/invocation.html This has been tested only on macOS with cocoa as $GUEST_DISPLAY. qemu-system-aarch -display help Available display backend types: none curses cocoa dbus Display backend types in Debian arm64 machines are: qemu-system-aarch -display help Available display backend types: none gtk sdl egl-headless curses spice-app dbus Signed-off-by: Daniel Gomez <[email protected]>
- Loading branch information