aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/public/domctl.h
diff options
context:
space:
mode:
authorGeorge Dunlap <george.dunlap@eu.citrix.com>2011-05-26 15:27:33 +0100
committerGeorge Dunlap <george.dunlap@eu.citrix.com>2011-05-26 15:27:33 +0100
commitf35c8f6857b19f2278b73b55bb64d4fc8fb56c75 (patch)
treefd767602ffdefe4205122ee551052aeef3e22875 /xen/include/public/domctl.h
parentbc14571cb1c03ed1691a520f444828f36b605116 (diff)
downloadxen-f35c8f6857b19f2278b73b55bb64d4fc8fb56c75.tar.gz
xen-f35c8f6857b19f2278b73b55bb64d4fc8fb56c75.tar.bz2
xen-f35c8f6857b19f2278b73b55bb64d4fc8fb56c75.zip
tools: Introduce "allocate-only" page type for migration
To detect presence of superpages on the receiver side, we need to have strings of sequential pfns sent across on the first iteration through the memory. However, as we go through the memory, more and more of it will be marked dirty, making it wasteful to send those pages. This patch introduces a new PFINFO type, "XALLOC". Like PFINFO_XTAB, it indicates that there is no corresponding page present in the subsquent page buffer. However, unlike PFINFO_XTAB, it contains a pfn which should be allocated. This new type is only used for migration; but it's placed in xen/public/domctl.h so that the value isn't reused. Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'xen/include/public/domctl.h')
-rw-r--r--xen/include/public/domctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/public/domctl.h b/xen/include/public/domctl.h
index f5c661b5ab..c0dbc0234e 100644
--- a/xen/include/public/domctl.h
+++ b/xen/include/public/domctl.h
@@ -133,6 +133,7 @@ DEFINE_XEN_GUEST_HANDLE(xen_domctl_getmemlist_t);
#define XEN_DOMCTL_PFINFO_LTABTYPE_MASK (0x7U<<28)
#define XEN_DOMCTL_PFINFO_LPINTAB (0x1U<<31)
#define XEN_DOMCTL_PFINFO_XTAB (0xfU<<28) /* invalid page */
+#define XEN_DOMCTL_PFINFO_XALLOC (0xeU<<28) /* allocate-only page */
#define XEN_DOMCTL_PFINFO_PAGEDTAB (0x8U<<28)
#define XEN_DOMCTL_PFINFO_LTAB_MASK (0xfU<<28)