Skip to content

Commit

Permalink
xen: XENMEM_translate_gpfn_list was remove ages ago and is unused.
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
  • Loading branch information
Ian Campbell authored and Konrad Rzeszutek Wilk committed Oct 19, 2012
1 parent 37ea0fc commit e84fe8a
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions include/xen/interface/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,28 +179,8 @@ struct xen_add_to_physmap {
};
DEFINE_GUEST_HANDLE_STRUCT(xen_add_to_physmap);

/*
* Translates a list of domain-specific GPFNs into MFNs. Returns a -ve error
* code on failure. This call only works for auto-translated guests.
*/
#define XENMEM_translate_gpfn_list 8
struct xen_translate_gpfn_list {
/* Which domain to translate for? */
domid_t domid;

/* Length of list. */
xen_ulong_t nr_gpfns;

/* List of GPFNs to translate. */
GUEST_HANDLE(ulong) gpfn_list;

/*
* Output list to contain MFN translations. May be the same as the input
* list (in which case each input GPFN is overwritten with the output MFN).
*/
GUEST_HANDLE(ulong) mfn_list;
};
DEFINE_GUEST_HANDLE_STRUCT(xen_translate_gpfn_list);
/*** REMOVED ***/
/*#define XENMEM_translate_gpfn_list 8*/

/*
* Returns the pseudo-physical memory map as it was when the domain
Expand Down

0 comments on commit e84fe8a

Please sign in to comment.