Enable VGA acceleration for VTI domain
PATCH 1/1 Enable VGA acceleration for VTI domain
Hi, Keir,
Attached patch is the qemu part to enable VGA acceleration for
VTI
domain. It also fixes a small point about increasing maximum mem for the new linear buffer.
Signed-off-by Kevin Tian <[email protected]>
Thanks,
Kevin
Enable VGA acceleration for VTI domain. Also fixes a small point about increasing maximum mem for the new linear buffer.
Signed-off-by Kevin Tian <[email protected]>
tools/ioemu/hw/cirrus_vga.c +0 -5
@@ -2460,7 +2460,6 @@ };extern FILE *logfile; -#if defined(__i386__) || defined (__x86_64__)static void *set_vram_mapping (unsigned long begin,unsigned long end) {unsigned long * extent_start =NULL ;
@@ -2540,10 +2539,6 @@return 0 ; } -#elif defined(__ia64__) -static void *set_vram_mapping (unsigned long addr,unsigned long end) {} -static int unset_vram_mapping (unsigned long addr,unsigned long end) {} -#endif extern int vga_accelerate;/* Compute the memory access functions */
tools/ioemu/hw/vga.c +1 -1
@@ -1995,6 +1995,7 @@ s->get_resolution = vga_get_resolution;/* XXX: currently needed for display */ vga_state = s; +vga_bios_init (s); }
@@ -2082,7 +2083,6 @@#endif } -vga_bios_init (s);return 0 ; }
tools/ioemu/vl.c +1 -1
@@ -2498,7 +2498,7 @@xc_domain_getinfo (xc_handle, domid,1 , &info);if (xc_domain_setmaxmem (xc_handle, domid, - (info.nr_pages + nr_pages) *PAGE_SIZE /1024 ) !=0 ) + info.max_memkb + nr_pages *PAGE_SIZE /1024 ) !=0 ) {fprintf (logfile,"set maxmem returned error %d\n" , errno);return -1 ;
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel