2010-12-11 00:38:27 +01:00
|
|
|
Subject: xenpaging: print xenpaging cmdline options
|
|
|
|
|
|
|
|
Print xenpaging arguments to simplify domain_id mapping from xenpaging
|
|
|
|
logfile to other logfiles and Xen console output.
|
|
|
|
|
2011-01-14 19:24:51 +01:00
|
|
|
(xen-unstable changeset: 22445:c7b08fc1cb8d)
|
|
|
|
|
2010-12-11 00:38:27 +01:00
|
|
|
Signed-off-by: Olaf Hering <olaf@aepfle.de>
|
|
|
|
|
|
|
|
---
|
|
|
|
tools/xenpaging/xenpaging.c | 2 ++
|
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
2011-02-04 22:19:54 +01:00
|
|
|
Index: xen-4.0.2-testing/tools/xenpaging/xenpaging.c
|
|
|
|
===================================================================
|
|
|
|
--- xen-4.0.2-testing.orig/tools/xenpaging/xenpaging.c
|
|
|
|
+++ xen-4.0.2-testing/tools/xenpaging/xenpaging.c
|
|
|
|
@@ -539,6 +539,8 @@ int main(int argc, char *argv[])
|
2010-12-11 00:38:27 +01:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ DPRINTF("starting %s %u %d\n", argv[0], domain_id, num_pages);
|
|
|
|
+
|
|
|
|
/* Open file */
|
|
|
|
sprintf(filename, "page_cache_%d", domain_id);
|
|
|
|
fd = open(filename, open_flags, open_mode);
|