@@ -615,6 +615,12 @@ you can totally disable graphical output so that QEMU is a simple
command line application. The emulated serial port is redirected on
the console. Therefore, you can still use QEMU to debug a Linux kernel
with a serial console.
+@item none
+Pick the none display option. This option will still run with an
+emulated graphics card, but none will be displayed to the QEMU
+user. This options differs from the -nographic option in that QEMU
+will behave like if one of the display options had been picked, it
+will not change the control on the command line.
@end table
ETEXI
@@ -110,6 +110,7 @@ typedef enum DisplayType
DT_CURSES,
DT_SDL,
DT_NOGRAPHIC,
+ DT_NONE,
} DisplayType;
extern int autostart;
@@ -1577,6 +1577,8 @@ static DisplayType select_display(const char *p)
#endif
} else if (strstart(p, "nographic", &opts)) {
display = DT_NOGRAPHIC;
+ } else if (strstart(p, "none", &opts)) {
+ display = DT_NONE;
} else {
fprintf(stderr, "Unknown display type: %s\n", p);
exit(1);