]> xenbits.xensource.com Git - people/julieng/xen-unstable.git/commitdiff
xen/public: grant-table: Specificy the size of the grant
authorJulien Grall <julien.grall@citrix.com>
Wed, 5 Aug 2015 11:09:37 +0000 (12:09 +0100)
committerJulien Grall <julien.grall@citrix.com>
Thu, 17 Dec 2015 15:54:47 +0000 (15:54 +0000)
The grant is always 4KB irrespectively of the page granularity of the
guest.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
---

Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Jan Beulich <jbeulich@suse.com>
Cc: Keir Fraser <keir@xen.org>
Cc: Tim Deegan <tim@xen.org>
xen/include/public/grant_table.h

index e9393fdd00a23980dd343fcfcc075346a09a1a39..67a250d4f29149a4ab24a258cf57251e31cebd32 100644 (file)
  * know the real machine address of a page it is sharing. This makes
  * it possible to share memory correctly with domains running in
  * fully virtualised memory.
+ *
+ * The size of a grant is always 4KB irrespectively of the page
+ * granularity of the guest. This is means that when the guest is using
+ * 64KB page granularity, it will have to split the page in 4KB chunks
+ * and request a grant for every of them.
  */
 
 /***********************************