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

RE: [Xen-devel] [PATCH 1/2] graphics passthrough with VT-d



On Sun, 20 Sep 2009, Han, Weidong wrote:
> The problem of changing on xc_hvm_build is need to modify hypercall API 
> (xc_hvm_build_target_mem), it's better to avoid it. If it is more intrusive 
> or harder to read vgabios in stubdom, we can change it back to modify 
> xc_hvm_build.
> 

You could leave xc_hvm_build_target_mem as it is and implement
something similar to:

+    if ( gfx_passthru )
+        sts |= setup_vga_pt(xc_handle, domid);
+    else
+        sts |= init_vgabios(xc_handle, domid, NULL, 0x800);

in pyxc_hvm_build instead so that there is no need for API changes and
the vga bios would still be read from a process in dom0 (xend in this 
case).


_______________________________________________
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®.