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

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

To: "David Pilger" <pilger.david@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] HVM stdvga=1 problem
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: 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
<Prev in Thread] Current Thread [Next in Thread>