]> xenbits.xensource.com Git - people/dariof/xen.git/commitdiff
public: correct GNTTABOP_set_version comment
authorJan Beulich <jbeulich@suse.com>
Fri, 2 Mar 2018 14:20:15 +0000 (15:20 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 2 Mar 2018 14:20:15 +0000 (15:20 +0100)
Version changes are allowed any number of times. Simply re-use the
comment XTF has (thanks Andrew).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/public/grant_table.h

index 180d62c6d8ffa95cd35456c08922f7ecc480e6e4..3b7bf93d74354972ba1b685eb6fb140626c5cfb5 100644 (file)
@@ -515,10 +515,9 @@ DEFINE_XEN_GUEST_HANDLE(gnttab_unmap_and_replace_t);
 #if __XEN_INTERFACE_VERSION__ >= 0x0003020a
 /*
  * GNTTABOP_set_version: Request a particular version of the grant
- * table shared table structure.  This operation can only be performed
- * once in any given domain.  It must be performed before any grants
- * are activated; otherwise, the domain will be stuck with version 1.
- * The only defined versions are 1 and 2.
+ * table shared table structure.  This operation may be used to toggle
+ * between different versions, but must be performed while no grants
+ * are active.  The only defined versions are 1 and 2.
  */
 struct gnttab_set_version {
     /* IN/OUT parameters */