Steve Ofsthun
2006-Apr-12 18:40 UTC
[Xen-devel] [RFC][PATCH] Hypercalls from HVM guests (2/2)
A sample test module for the HVM hypercall interface. Signed-off-by: Steve Ofsthun <sofsthun@virtualiron.com> 1) To use, put these files in a directory by themselves. 2) Edit the Makefile: Set XEN_ROOT to a populated xen tree. Set LINUX_ROOT to a linux build tree for your HVM domU kernel. 3) make The output should be test.ko. You should be able to load this module on an HVM guest using: # insmod test.ko Module output on the console should appear like: hypercall_page @ ffffffffa020f000 xen_features[0].writable_page_tables = 1 xen_features[0].writable_descriptor_tables = 0 xen_features[0].auto_translated_physmap = 1 xen_features[0].supervisor_mode_kernel = 0 xen_features[0].pae_pgdir_above_4gb = 1 Enjoy, Steve -- Steve Ofsthun - Virtual Iron Software, Inc. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Steve Ofsthun
2006-Apr-12 21:20 UTC
[Xen-devel] Re: [RFC][PATCH] Hypercalls from HVM guests (2/2) - Update
Here is an update to the previously posted test program for HVM hypercalls. Just replace the previous version of this file with this version. Signed-off-by: Steve Ofsthun <sofsthun@virtualiron.com> Steve -- Steve Ofsthun - Virtual Iron Software, Inc. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel