aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xc/lib/xc_linux_restore.c
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-03-23 11:55:59 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-03-23 11:55:59 +0000
commit16b5a63e564f7dd9644a1c48a3439cb4d7466c67 (patch)
tree4070fda17049b6d8ec5c5d7f953944841668c0df /tools/xc/lib/xc_linux_restore.c
parentf914ededc51e14f29b074c98eafd845903096c91 (diff)
downloadxen-16b5a63e564f7dd9644a1c48a3439cb4d7466c67.tar.gz
xen-16b5a63e564f7dd9644a1c48a3439cb4d7466c67.tar.bz2
xen-16b5a63e564f7dd9644a1c48a3439cb4d7466c67.zip
bitkeeper revision 1.825 (406025cfC03xuc67hhXT_zgB13escw)
xc_linux_save.c, xc_linux_restore.c, balloon.c, README, Makefile: xeno -> xen renames.
Diffstat (limited to 'tools/xc/lib/xc_linux_restore.c')
-rw-r--r--tools/xc/lib/xc_linux_restore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/xc/lib/xc_linux_restore.c b/tools/xc/lib/xc_linux_restore.c
index c82bb5c10d..d06804ed93 100644
--- a/tools/xc/lib/xc_linux_restore.c
+++ b/tools/xc/lib/xc_linux_restore.c
@@ -62,7 +62,7 @@ int xc_linux_restore(int xc_handle,
u64 dom = 0ULL;
unsigned int prev_pc, this_pc;
- /* Number of page frames in use by this XenoLinux session. */
+ /* Number of page frames in use by this Linux session. */
unsigned long nr_pfns;
/* The new domain's shared-info frame number. */
@@ -72,7 +72,7 @@ int xc_linux_restore(int xc_handle,
/* A copy of the CPU context of the guest. */
full_execution_context_t ctxt;
- /* First 16 bytes of the state file must contain 'XenoLinuxSuspend'. */
+ /* First 16 bytes of the state file must contain 'LinuxGuestRecord'. */
char signature[16];
/* A copy of the domain's name. */
@@ -116,7 +116,7 @@ int xc_linux_restore(int xc_handle,
/* Start writing out the saved-domain record. */
if ( !checked_read(gfd, signature, 16) ||
- (memcmp(signature, "XenoLinuxSuspend", 16) != 0) )
+ (memcmp(signature, "LinuxGuestRecord", 16) != 0) )
{
ERROR("Unrecognised state format -- no signature found");
goto out;