提交 1b8fc811 编写于 作者: A aliguori

Do not enable a default virtio console

This upsets Windows installs and right now, virtio console isn't very useful
as a default device.
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6648 c046a42c-6fe2-441c-8c8c-71466251a162
上级 abcd2baa
......@@ -4691,8 +4691,7 @@ int main(int argc, char **argv, char **envp)
parallel_devices[i] = NULL;
parallel_device_index = 0;
virtio_consoles[0] = "vc:80Cx24C";
for(i = 1; i < MAX_VIRTIO_CONSOLES; i++)
for(i = 0; i < MAX_VIRTIO_CONSOLES; i++)
virtio_consoles[i] = NULL;
virtio_console_index = 0;
......@@ -5305,8 +5304,6 @@ int main(int argc, char **argv, char **envp)
parallel_devices[0] = "null";
if (strncmp(monitor_device, "vc", 2) == 0)
monitor_device = "stdio";
if (virtio_console_index == 0)
virtio_consoles[0] = "null";
}
#ifndef _WIN32
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册