[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] How to initialize the grant table in a HVM guest OS and its bios
Hi Ian, Yes, I'm working on the PV support on tianocore UEFI bios. I have read the code in drivers/xen/grant-table.c. And my understanding of the initialization of the grant table in HVM is as the following. Please correct me if possible.
1. DomU sets up the grant table for itself. (Uses the hypercall HYPERVISOR_grant_table_op) 2. DomU maps the shared grant table to its address space. (Uses the hypercall HYPERVISOR_memory_op)
3. DomU needs to map the the shared grant table to the installed grant table in step 1 (Maybe it's done in the method apply_to_page_range()). Then, DomU can operate the shared grant table through the installed grant table.
Thank you very much. Best Regards, Bei Guan
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |