From 43c54ac6053bd0ab397d7b77519e875b01a9a105 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 2 Mar 2018 15:20:15 +0100 Subject: [PATCH] public: correct GNTTABOP_set_version comment Version changes are allowed any number of times. Simply re-use the comment XTF has (thanks Andrew). Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- xen/include/public/grant_table.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/xen/include/public/grant_table.h b/xen/include/public/grant_table.h index 180d62c6d8..3b7bf93d74 100644 --- a/xen/include/public/grant_table.h +++ b/xen/include/public/grant_table.h @@ -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 */ -- 2.39.5