On 19.10.2017 11:15, Zhang Yi wrote:
> From: Zhang Yi Z <yi.z.zh...@linux.intel.com>
> 
> Introduce the Xen Hypercall HVMOP_set_subpage into Xenctl.
> The API is defined as flowing.
> 
> int xc_mem_set_subpage(xc_interface *handle, domid_t domid,
>                        xen_pfn_t gfn, uint32_t access);
> 
> Signed-off-by: Zhang, Yi Z <yi.z.zh...@linux.intel.com>
> ---
>  tools/libxc/include/xenctrl.h |  2 ++
>  tools/libxc/xc_mem_paging.c   | 20 ++++++++++++++++++++
>  2 files changed, 22 insertions(+)
> 
> diff --git a/tools/libxc/include/xenctrl.h b/tools/libxc/include/xenctrl.h
> index bde8313..a13f2c7 100644
> --- a/tools/libxc/include/xenctrl.h
> +++ b/tools/libxc/include/xenctrl.h
> @@ -1956,6 +1956,8 @@ int xc_mem_paging_evict(xc_interface *xch, domid_t 
> domain_id, uint64_t gfn);
>  int xc_mem_paging_prep(xc_interface *xch, domid_t domain_id, uint64_t gfn);
>  int xc_mem_paging_load(xc_interface *xch, domid_t domain_id,
>                         uint64_t gfn, void *buffer);
> +int xc_mem_set_subpage(xc_interface *handle, domid_t domid,
> +                             xen_pfn_t gfn, uint32_t access);

Would you consider a small comment here explaining at least the access
parameter?


Thanks,
Razvan

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

Reply via email to