projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aba927
)
stubdom: make non-VNC + stdvga work
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 9 Jun 2008 08:46:46 +0000
(09:46 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 9 Jun 2008 08:46:46 +0000
(09:46 +0100)
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
tools/ioemu/hw/vga.c
patch
|
blob
|
history
diff --git
a/tools/ioemu/hw/vga.c
b/tools/ioemu/hw/vga.c
index 9e4627f3feaeebe7a1ea43d5b48e59f7f3a0e4ef..4f3ad51c98e162428ea59d49388965800baa9040 100644
(file)
--- a/
tools/ioemu/hw/vga.c
+++ b/
tools/ioemu/hw/vga.c
@@
-2157,6
+2157,11
@@
void vga_common_init(VGAState *s, DisplayState *ds, uint8_t *vga_ram_base,
/* and page-aligned for PVFB memory sharing */
s->vram_ptr = s->vram_alloc = qemu_memalign(TARGET_PAGE_SIZE, vga_ram_size);
+#ifdef CONFIG_STUBDOM
+ if (!cirrus_vga_enabled)
+ xenfb_pv_display_start(s->vram_ptr);
+#endif
+
s->vram_offset = vga_ram_offset;
s->vram_size = vga_ram_size;
s->ds = ds;