- 论坛徽章:
- 0
|
本帖最后由 zhengb302 于 2013-01-06 08:22 编辑
嘿嘿,经过尝试,发现使用 -display none 参数代替 -nographic 就没这个问题了。附上这两个参数的说明:
-display type
Select type of display to use. This option is a replacement for the old style -sdl/-curses/... options. Valid values for type are
sdl Display video output via SDL (usually in a separate graphics window; see the SDL documentation for other possibilities).
curses
Display video output via curses. For graphics device models which support a text mode, QEMU can display this output using a
curses/ncurses interface. Nothing is displayed when the graphics device is in graphical mode or if the graphics device does not
support a text mode. Generally only the VGA device models support text mode.
none
Do not display video output. The guest will still see an emulated graphics card, but its output will not be displayed to the QEMU
user. This option differs from the -nographic option in that it only affects what is done with video output; -nographic also
changes the destination of the serial and parallel port data.
vnc Start a VNC server on display <arg>
-nographic
Normally, QEMU uses SDL to display the VGA output. With this option, 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. |
|