aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-27 20:01:39 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-27 20:01:39 +0000
commit1b8fc8115cef8488b6b7a5f18751742eff9b34a0 (patch)
treef3f34d82fd91106d7c6f924ce775adb29c723350
parentabcd2baab187cc3b1fcce13b697da5874a123e39 (diff)
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
-rw-r--r--vl.c5
1 files changed, 1 insertions, 4 deletions
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