diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-03-06 19:18:39 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-03-06 19:18:39 +0000 |
commit | e4865c23155b05278f31be537764e760cd2d9b7e (patch) | |
tree | e020f0021a3939aef936a38ee4322f58df27efbd /xen/include/public/xen.h | |
parent | 3c6846fa3462faadbe7b34255cb18009a751cd48 (diff) | |
download | xen-e4865c23155b05278f31be537764e760cd2d9b7e.tar.gz xen-e4865c23155b05278f31be537764e760cd2d9b7e.tar.bz2 xen-e4865c23155b05278f31be537764e760cd2d9b7e.zip |
Page offline support in Xen side
This patch add support to offline a page. The basical idea is, when a
page is assigned, it will be marked offline pending and be moved out of
buddy when freed, when a page is free, it will be moved out of buddy directly.
One notice after this change is, now the page->count_info is not
always 0, especially for shadow page, since the PGC_offlining bit may be set.
Signed-off-by: Wang, Shane <shane.wang@intel.com>
Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
Diffstat (limited to 'xen/include/public/xen.h')
-rw-r--r-- | xen/include/public/xen.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/public/xen.h b/xen/include/public/xen.h index 2f85ab3937..fb03d0c22c 100644 --- a/xen/include/public/xen.h +++ b/xen/include/public/xen.h @@ -354,6 +354,9 @@ typedef uint16_t domid_t; */ #define DOMID_XEN (0x7FF2U) +/* DOMID_INVALID is used to identity invalid domid */ +#define DOMID_INVALID (0x7FFFU) + /* * Send an array of these to HYPERVISOR_mmu_update(). * NB. The fields are natural pointer/address size for this architecture. |