qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [4316] Set default console size


From: Aurelien Jarno
Subject: [Qemu-devel] [4316] Set default console size
Date: Sun, 04 May 2008 00:50:34 +0000

Revision: 4316
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4316
Author:   aurel32
Date:     2008-05-04 00:50:34 +0000 (Sun, 04 May 2008)

Log Message:
-----------
Set default console size

(Stefan Weil)

Modified Paths:
--------------
    trunk/hw/mips_malta.c
    trunk/vl.c

Modified: trunk/hw/mips_malta.c
===================================================================
--- trunk/hw/mips_malta.c       2008-05-04 00:50:25 UTC (rev 4315)
+++ trunk/hw/mips_malta.c       2008-05-04 00:50:34 UTC (rev 4316)
@@ -436,7 +436,7 @@
     cpu_register_physical_memory(base, 0x900, malta);
     cpu_register_physical_memory(base + 0xa00, 0x100000 - 0xa00, malta);
 
-    s->display = qemu_chr_open("vc");
+    s->display = qemu_chr_open("vc:320x200");
     qemu_chr_printf(s->display, "\e[HMalta LEDBAR\r\n");
     qemu_chr_printf(s->display, "+--------+\r\n");
     qemu_chr_printf(s->display, "+        +\r\n");
@@ -447,7 +447,7 @@
     qemu_chr_printf(s->display, "+        +\r\n");
     qemu_chr_printf(s->display, "+--------+\r\n");
 
-    uart_chr = qemu_chr_open("vc");
+    uart_chr = qemu_chr_open("vc:80Cx24C");
     qemu_chr_printf(uart_chr, "CBUS UART\r\n");
     s->uart = serial_mm_init(base + 0x900, 3, env->irq[2], uart_chr, 1);
 

Modified: trunk/vl.c
===================================================================
--- trunk/vl.c  2008-05-04 00:50:25 UTC (rev 4315)
+++ trunk/vl.c  2008-05-04 00:50:34 UTC (rev 4316)
@@ -8310,14 +8310,14 @@
     kernel_cmdline = "";
     cyls = heads = secs = 0;
     translation = BIOS_ATA_TRANSLATION_AUTO;
-    monitor_device = "vc";
+    monitor_device = "vc:800x600";
 
-    serial_devices[0] = "vc";
+    serial_devices[0] = "vc:80Cx24C";
     for(i = 1; i < MAX_SERIAL_PORTS; i++)
         serial_devices[i] = NULL;
     serial_device_index = 0;
 
-    parallel_devices[0] = "vc";
+    parallel_devices[0] = "vc:640x480";
     for(i = 1; i < MAX_PARALLEL_PORTS; i++)
         parallel_devices[i] = NULL;
     parallel_device_index = 0;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]