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

[Xen-devel] How to initialize the grant table in a HVM guest OS and its bios



Hi,

In Mini-OS, the initialization of the grant table maps the grant table entries into an area called demand_map_area. The code is in the file mini-os/gnttab.c and it's like this 
gnttab_table = map_frames(frames, NR_GRANT_FRAMES);

It seems that getting the demand_map_area needs the infomation from the start_info page in Mini-OS (refer to the method allocate_ondemand int mini-os/arch/x86/mm.c). However, there is no start_info page in a HVM guest OS (maybe it's also true for its virtual bios, such as seabios and uefi bios). So, how to map the grant table entries in a HVM guest OS and its bios?

Any suggestions is appreciated.


Best Regards,
Bei Guan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.