Displaying 2 results from an estimated 2 matches for "xc_gnttab_".
Did you mean:
xc_gnttab
2008 Jul 11
1
Question about Using Grant Table
Hi:
There is a code sample in <The Definite Guide to the Xen Hypervisor>, chapter 4, "Using Grant Tables".
The code sample is as following:
#include <public/xen.h>
extern void * shared_page;
extern grant_entry_t * grant_table;
void offer_page()
{
uint16_t flags;
/* create the grant table*/
gnttab_setup_table_t setup_op;
2013 Apr 26
14
bug in xc_gntshr_munmap?
Hi,
Header says:
/*
* Unmaps the @count pages starting at @start_address, which were mapped by a
* call to xc_gntshr_share_*. Never logs.
*/
int xc_gntshr_munmap(xc_gntshr *xcg, void *start_address, uint32_t count);
But implementation calls:
static int linux_gntshr_munmap(xc_gntshr *xcg, xc_osdep_handle h,
void *start_address, uint32_t count)
{
return