Mailing List Archive

HVM stdvga=1 problem
Hello,

I'm trying to run a HVM with the stdvga=1 option and qemu crashes... I'm
using the Xen 3.0.3 installation which comes with FC6.

After a bit of research :) I saw that it crashes in the function
vram_dirty..... Any ideas on how to solve this?
I want to run windows with the vga.sys driver...

Thank you,
David.
RE: HVM stdvga=1 problem [ In reply to ]
Hi David,

I fixed it for IA64 side last week. VTi uses stdvga @early boot time, so also met the problem. Seems IA32 side needs this fix too. Maybe you can try the following patch.



diff -r 6369f13feafc tools/ioemu/vl.c

--- a/tools/ioemu/vl.c Thu Oct 19 22:05:57 2006 -0400

+++ b/tools/ioemu/vl.c Sun Nov 12 19:46:25 2006 +0800

@@ -6396,8 +6396,6 @@ int main(int argc, char **argv)

exit(1);

}



- /* init the memory */

- phys_ram_size = ram_size + vga_ram_size + bios_size;



#ifdef CONFIG_DM



@@ -6514,6 +6512,9 @@ int main(int argc, char **argv)

exit(-1);

}

#endif

+ /* init the memory */

+ phys_ram_size = ram_size + vga_ram_size + bios_size;

+

#else /* !CONFIG_DM */



phys_ram_base = qemu_vmalloc(phys_ram_size);

Thanks & Best Regards
-Xiantao

OTC,Intel Corporation

________________________________

From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of David Pilger
Sent: 2006Äê11ÔÂ12ÈÕ 18:36
To: xen-devel@lists.xensource.com
Subject: [Xen-devel] HVM stdvga=1 problem



Hello,

I'm trying to run a HVM with the stdvga=1 option and qemu crashes... I'm using the Xen 3.0.3 installation which comes with FC6.

After a bit of research :) I saw that it crashes in the function vram_dirty..... Any ideas on how to solve this?
I want to run windows with the vga.sys driver...

Thank you,
David.