]> xenbits.xensource.com Git - xen.git/commitdiff
public: adjust documentation following XSA-217
authorJan Beulich <jbeulich@suse.com>
Thu, 22 Jun 2017 07:47:08 +0000 (09:47 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Jun 2017 07:47:08 +0000 (09:47 +0200)
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/public/grant_table.h
xen/include/public/memory.h

index e5f04ec57c5bd590b6c81799ee01028c3512aacf..018036e825f8f2999812cdb089f7fa2195789231 100644 (file)
@@ -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 <frame> to a foreign domain. The
- * foreign domain has previously registered its interest in the transfer via
- * <domid, ref>.
+ * GNTTABOP_transfer: Transfer <frame> to a foreign domain. The foreign domain
+ * has previously registered its interest in the transfer via <domid, ref>.
  *
  * 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. */
index 6eee0c8a16dcab4597d65ea29e614765158f94bb..29386df98b018921d98bf39a64b1518330192564 100644 (file)
@@ -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 {