ia64/xen-unstable

changeset 17804:124367e10376

stubdom: make non-VNC + stdvga work

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jun 09 09:46:46 2008 +0100 (2008-06-09)
parents caa2b155a42d
children 6c5b9b355ce8
files tools/ioemu/hw/vga.c
line diff
     1.1 --- a/tools/ioemu/hw/vga.c	Mon Jun 09 09:46:32 2008 +0100
     1.2 +++ b/tools/ioemu/hw/vga.c	Mon Jun 09 09:46:46 2008 +0100
     1.3 @@ -2157,6 +2157,11 @@ void vga_common_init(VGAState *s, Displa
     1.4      /* and page-aligned for PVFB memory sharing */
     1.5      s->vram_ptr = s->vram_alloc = qemu_memalign(TARGET_PAGE_SIZE, vga_ram_size);
     1.6  
     1.7 +#ifdef CONFIG_STUBDOM
     1.8 +    if (!cirrus_vga_enabled)
     1.9 +        xenfb_pv_display_start(s->vram_ptr);
    1.10 +#endif
    1.11 +
    1.12      s->vram_offset = vga_ram_offset;
    1.13      s->vram_size = vga_ram_size;
    1.14      s->ds = ds;