From c08a11ab98c40dc3f62a4a6c4f5a12d587b21e72 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 22 Jun 2017 09:47:08 +0200 Subject: [PATCH] public: adjust documentation following XSA-217 Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- xen/include/public/grant_table.h | 7 ++++--- xen/include/public/memory.h | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/xen/include/public/grant_table.h b/xen/include/public/grant_table.h index e5f04ec57c..018036e825 100644 --- a/xen/include/public/grant_table.h +++ b/xen/include/public/grant_table.h @@ -411,12 +411,13 @@ typedef struct gnttab_dump_table gnttab_dump_table_t; DEFINE_XEN_GUEST_HANDLE(gnttab_dump_table_t); /* - * GNTTABOP_transfer_grant_ref: Transfer to a foreign domain. The - * foreign domain has previously registered its interest in the transfer via - * . + * GNTTABOP_transfer: Transfer to a foreign domain. The foreign domain + * has previously registered its interest in the transfer via . * * Note that, even if the transfer fails, the specified page no longer belongs * to the calling domain *unless* the error is GNTST_bad_page. + * + * Note further that only PV guests can use this operation. */ struct gnttab_transfer { /* IN parameters. */ diff --git a/xen/include/public/memory.h b/xen/include/public/memory.h index 6eee0c8a16..29386df98b 100644 --- a/xen/include/public/memory.h +++ b/xen/include/public/memory.h @@ -102,6 +102,8 @@ DEFINE_XEN_GUEST_HANDLE(xen_memory_reservation_t); * Returns zero on complete success, otherwise a negative error code. * On complete success then always @nr_exchanged == @in.nr_extents. * On partial success @nr_exchanged indicates how much work was done. + * + * Note that only PV guests can use this operation. */ #define XENMEM_exchange 11 struct xen_memory_exchange { -- 2.39.5