Add a comment to include/public/grant_table.h that GNTTABOP_transfer is deprecated, in order to discourage new use cases.
Signed-off-by: Juergen Gross <jgr...@suse.com> --- v2: - new patch --- xen/include/public/grant_table.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/include/public/grant_table.h b/xen/include/public/grant_table.h index 7934d7b718..7fbd1c6d10 100644 --- a/xen/include/public/grant_table.h +++ b/xen/include/public/grant_table.h @@ -417,6 +417,8 @@ DEFINE_XEN_GUEST_HANDLE(gnttab_dump_table_t); * GNTTABOP_transfer: Transfer <frame> to a foreign domain. The foreign domain * has previously registered its interest in the transfer via <domid, ref>. * + * This operation is deprecated! Please don't add new use cases! + * * Note that, even if the transfer fails, the specified page no longer belongs * to the calling domain *unless* the error is GNTST_bad_page. * -- 2.34.1