WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Cleanup one qemu vga workaround

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Cleanup one qemu vga workaround
From: "Yu, Ke" <ke.yu@xxxxxxxxx>
Date: Tue, 29 Nov 2005 15:36:00 +0800
Delivery-date: Tue, 29 Nov 2005 07:36:35 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcX0t4tIx33F2z+WTTWM/rcyb0eeOA==
Thread-topic: [PATCH] Cleanup one qemu vga workaround
Signed-off-by: Ke Yu <ke.yu@xxxxxxxxx>

# HG changeset patch
# User ke.yu@xxxxxxxxx
# Node ID 11b85f522dbb17ad513a24c6657691e436c00b6a
# Parent  243265ade4045314ee4170436cc704afafda54cf
This patch clean up a previous qemu workaround, i.e. using
/etc/xen/qemu-vgaram-bin as vgabios instead. Now vgabios is ready for
long time, this workaround is not needed anymore.

diff -r 243265ade404 -r 11b85f522dbb tools/ioemu/hw/vga.c
--- a/tools/ioemu/hw/vga.c  Mon Nov 28 17:22:02 2005 +0000
+++ b/tools/ioemu/hw/vga.c  Tue Nov 29 15:24:25 2005 +0800
@@ -1834,16 +1834,6 @@

     /* TODO:add vbe support if enable it */

-    FILE *qemuf = fopen("/etc/xen/qemu-vgaram-bin", "rb");
-    if (!qemuf) {
-        fprintf(logfile, "open qemu vgaram binary failed!\n");
-    } else {
-        /*load vram contents, else vga console can't boot */
-        qemu_get_buffer(qemuf, s->vram_ptr, 256*1024);
-
-        fclose(qemuf);
-    }
-
 }

 void vga_common_init(VGAState *s, DisplayState *ds, uint8_t
*vga_ram_base,

Attachment: qemuvga-cleanup.patch
Description: qemuvga-cleanup.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Cleanup one qemu vga workaround, Yu, Ke <=