xen-unstable.hg

changeset 10745:b8ec4423cc44

[qemu] Add missing vga_bios_init call.

From: Zhang, Xiantao <xiantao.zhang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
author chris@kneesaa.uk.xensource.com
date Thu Jul 27 11:12:04 2006 +0100 (2006-07-27)
parents 5d76b22f80e4
children f3d6a5281617 fcef9a741e1d
files tools/ioemu/hw/vga.c tools/ioemu/patches/qemu-init-vgabios
line diff
     1.1 --- a/tools/ioemu/hw/vga.c	Wed Jul 26 21:13:24 2006 +0100
     1.2 +++ b/tools/ioemu/hw/vga.c	Thu Jul 27 11:12:04 2006 +0100
     1.3 @@ -1953,6 +1953,8 @@ void vga_common_init(VGAState *s, Displa
     1.4                           vga_screen_dump, s);
     1.5      /* XXX: currently needed for display */
     1.6      vga_state = s;
     1.7 +
     1.8 +    vga_bios_init(s);
     1.9  }
    1.10  
    1.11  
     2.1 --- a/tools/ioemu/patches/qemu-init-vgabios	Wed Jul 26 21:13:24 2006 +0100
     2.2 +++ b/tools/ioemu/patches/qemu-init-vgabios	Thu Jul 27 11:12:04 2006 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  Index: ioemu/hw/vga.c
     2.5  ===================================================================
     2.6 ---- ioemu.orig/hw/vga.c	2006-07-26 15:16:41.955609165 +0100
     2.7 -+++ ioemu/hw/vga.c	2006-07-26 15:17:16.910802283 +0100
     2.8 +--- ioemu.orig/hw/vga.c	2006-07-27 11:10:44.847738090 +0100
     2.9 ++++ ioemu/hw/vga.c	2006-07-27 11:11:02.008839258 +0100
    2.10  @@ -1669,6 +1669,136 @@
    2.11       }
    2.12   }
    2.13 @@ -139,3 +139,12 @@ Index: ioemu/hw/vga.c
    2.14   void vga_common_init(VGAState *s, DisplayState *ds, uint8_t *vga_ram_base, 
    2.15                        unsigned long vga_ram_offset, int vga_ram_size)
    2.16   {
    2.17 +@@ -1710,6 +1840,8 @@
    2.18 +                          vga_screen_dump, s);
    2.19 +     /* XXX: currently needed for display */
    2.20 +     vga_state = s;
    2.21 ++
    2.22 ++    vga_bios_init(s);
    2.23 + }
    2.24 + 
    2.25 +