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:
parent
abcd2baab1
commit
1b8fc8115c
5
vl.c
5
vl.c
@ -4691,8 +4691,7 @@ int main(int argc, char **argv, char **envp)
|
|||||||
parallel_devices[i] = NULL;
|
parallel_devices[i] = NULL;
|
||||||
parallel_device_index = 0;
|
parallel_device_index = 0;
|
||||||
|
|
||||||
virtio_consoles[0] = "vc:80Cx24C";
|
for(i = 0; i < MAX_VIRTIO_CONSOLES; i++)
|
||||||
for(i = 1; i < MAX_VIRTIO_CONSOLES; i++)
|
|
||||||
virtio_consoles[i] = NULL;
|
virtio_consoles[i] = NULL;
|
||||||
virtio_console_index = 0;
|
virtio_console_index = 0;
|
||||||
|
|
||||||
@ -5305,8 +5304,6 @@ int main(int argc, char **argv, char **envp)
|
|||||||
parallel_devices[0] = "null";
|
parallel_devices[0] = "null";
|
||||||
if (strncmp(monitor_device, "vc", 2) == 0)
|
if (strncmp(monitor_device, "vc", 2) == 0)
|
||||||
monitor_device = "stdio";
|
monitor_device = "stdio";
|
||||||
if (virtio_console_index == 0)
|
|
||||||
virtio_consoles[0] = "null";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
|
Loading…
Reference in New Issue
Block a user