Re: [Qemu-devel] [PATCH 1.1] vga: Initialise VRAM with 0

2012-05-24 Thread Stefano Stabellini
On Wed, 23 May 2012, Stefan Weil wrote: > The VNC code reads this memory before it is written by BIOS or > other code. Avoid random values by setting the VRAM to 0. > > This bug was reported by Valgrind. Please do not apply this patch: it breaks VGA restore on Xen: the videoram is saved and resto

[Qemu-devel] [PATCH 1.1] vga: Initialise VRAM with 0

2012-05-23 Thread Stefan Weil
The VNC code reads this memory before it is written by BIOS or other code. Avoid random values by setting the VRAM to 0. This bug was reported by Valgrind. Signed-off-by: Stefan Weil --- hw/vga.c |1 + 1 file changed, 1 insertion(+) diff --git a/hw/vga.c b/hw/vga.c index 1469680..80b8ec3 1