[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] HVM stdvga=1 problem


  • To: "David Pilger" <pilger.david@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
  • Date: Sun, 12 Nov 2006 19:51:57 +0800
  • Delivery-date: Sun, 12 Nov 2006 03:52:26 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AccGRlP0o0SdAF1+RpOCCFD/Y+t/UAACfVEw
  • Thread-topic: [Xen-devel] HVM stdvga=1 problem

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@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of David Pilger
Sent: 2006
1112 18:36
To: xen-devel@xxxxxxxxxxxxxxxxxxx
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.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.