Commit 1b8fc8115cef8488b6b7a5f18751742eff9b34a0

Authored by aliguori
1 parent abcd2baa

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
Showing 1 changed file with 1 additions and 4 deletions
... ... @@ -4691,8 +4691,7 @@ int main(int argc, char **argv, char **envp)
4691 4691 parallel_devices[i] = NULL;
4692 4692 parallel_device_index = 0;
4693 4693  
4694   - virtio_consoles[0] = "vc:80Cx24C";
4695   - for(i = 1; i < MAX_VIRTIO_CONSOLES; i++)
  4694 + for(i = 0; i < MAX_VIRTIO_CONSOLES; i++)
4696 4695 virtio_consoles[i] = NULL;
4697 4696 virtio_console_index = 0;
4698 4697  
... ... @@ -5305,8 +5304,6 @@ int main(int argc, char **argv, char **envp)
5305 5304 parallel_devices[0] = "null";
5306 5305 if (strncmp(monitor_device, "vc", 2) == 0)
5307 5306 monitor_device = "stdio";
5308   - if (virtio_console_index == 0)
5309   - virtio_consoles[0] = "null";
5310 5307 }
5311 5308  
5312 5309 #ifndef _WIN32
... ...