aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenpaging/xenpaging.h
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2011-11-20 17:02:36 +0100
committerOlaf Hering <olaf@aepfle.de>2011-11-20 17:02:36 +0100
commit9d9fa6e86c04df50dd2d903583b3872f7f9e3656 (patch)
treef5a5b0a7c24089ee10a2c3e909f3514a72a439ca /tools/xenpaging/xenpaging.h
parentd8a7606ce9d342f23fb06c26ce8b37694661b610 (diff)
downloadxen-9d9fa6e86c04df50dd2d903583b3872f7f9e3656.tar.gz
xen-9d9fa6e86c04df50dd2d903583b3872f7f9e3656.tar.bz2
xen-9d9fa6e86c04df50dd2d903583b3872f7f9e3656.zip
xenpaging: remove xc_dominfo_t from paging_t
Remove xc_dominfo_t from paging_t, record only max_pages. This value is used to setup internal data structures. Signed-off-by: Olaf Hering <olaf@aepfle.de> Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/xenpaging/xenpaging.h')
-rw-r--r--tools/xenpaging/xenpaging.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/xenpaging/xenpaging.h b/tools/xenpaging/xenpaging.h
index 99d25417c1..65cc6f9c3f 100644
--- a/tools/xenpaging/xenpaging.h
+++ b/tools/xenpaging/xenpaging.h
@@ -44,11 +44,11 @@ typedef struct xenpaging {
xc_interface *xc_handle;
struct xs_handle *xs_handle;
- xc_domaininfo_t *domain_info;
-
unsigned long *bitmap;
mem_event_t mem_event;
+ /* number of pages for which data structures were allocated */
+ int max_pages;
int num_pages;
int policy_mru_size;
unsigned long pagein_queue[XENPAGING_PAGEIN_QUEUE_SIZE];