xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* How to initialize the grant table in a HVM guest OS and its bios
@ 2012-08-08 15:10 Bei Guan
  2012-08-08 15:22 ` Ian Campbell
  0 siblings, 1 reply; 9+ messages in thread
From: Bei Guan @ 2012-08-08 15:10 UTC (permalink / raw)
  To: xen-devel; +Cc: Attilio Rao, Jordan Justen, Andrei E. Warkentin


[-- Attachment #1.1: Type: text/plain, Size: 660 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 808 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-08-17 18:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-08 15:10 How to initialize the grant table in a HVM guest OS and its bios Bei Guan
2012-08-08 15:22 ` Ian Campbell
2012-08-08 15:48   ` Bei Guan
2012-08-08 15:55     ` Ian Campbell
2012-08-17 15:31       ` Bei Guan
2012-08-17 15:44         ` Ian Campbell
2012-08-17 16:24           ` Bei Guan
2012-08-17 17:08           ` Jordan Justen
2012-08-17 18:46             ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).