From 1b8fc8115cef8488b6b7a5f18751742eff9b34a0 Mon Sep 17 00:00:00 2001 From: aliguori Date: Fri, 27 Feb 2009 20:01:39 +0000 Subject: 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 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6648 c046a42c-6fe2-441c-8c8c-71466251a162 --- vl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'vl.c') diff --git a/vl.c b/vl.c index b6530567a7..ee93d6bc29 100644 --- a/vl.c +++ b/vl.c @@ -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 -- cgit v1.2.3