Displaying 1 result from an estimated 1 matches for "domid_friend".
2008 Jul 11
1
Question about Using Grant Table
.../* create the grant table*/
gnttab_setup_table_t setup_op;
setup_op.dom =DOMID_SELF;
setup_op.nr_frames = 1;
setup_op.frame_list = grant_table;
HYPERVISOR_grant_table_op(GNTTABOP_setup_table, &setup_op, 1);
/*offer the grant */
grant_table[0].domid=DOMID_FRIEND;
grant_table[0].frame = shared_page >>12;
flgas = GTF_permit_access & GTF_reading & GTF_writing;
grant_table[0].flags= flags;
}
and it also assume that the grant table entry have already been communicated via Xenstore.
My question is :
If I modify t...