sim-card
/
qemu
Archived
10
0
Fork 0

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: Anthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6648 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
aliguori 2009-02-27 20:01:39 +00:00
parent abcd2baab1
commit 1b8fc8115c
1 changed files with 1 additions and 4 deletions

5
vl.c
View File

@ -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