diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2011-03-16 13:33:32 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-03-22 08:39:11 -0500 |
commit | 4171d32e6eea47bf2cd160ace0ec3639e10b3aa9 (patch) | |
tree | e5d1fffd99b821e354f3224fa046480a0244f540 /vl.c | |
parent | 1472a95bab1e7dc4d6cab83dc3853574cb829211 (diff) | |
download | qemu-4171d32e6eea47bf2cd160ace0ec3639e10b3aa9.zip qemu-4171d32e6eea47bf2cd160ace0ec3639e10b3aa9.tar.gz qemu-4171d32e6eea47bf2cd160ace0ec3639e10b3aa9.tar.bz2 |
Introduce -display none
New option -display none. This option differs from -nographic by not
trying to take control of stdio etc. but instead behaves as if a
graphics display is enabled, except that it doesn't show one.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1618,6 +1618,8 @@ static DisplayType select_display(const char *p) fprintf(stderr, "Curses support is disabled\n"); exit(1); #endif + } else if (strstart(p, "none", &opts)) { + display = DT_NONE; } else { invalid_display: fprintf(stderr, "Unknown display type: %s\n", p); |