diff options
author | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-03-23 11:55:59 +0000 |
---|---|---|
committer | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-03-23 11:55:59 +0000 |
commit | 16b5a63e564f7dd9644a1c48a3439cb4d7466c67 (patch) | |
tree | 4070fda17049b6d8ec5c5d7f953944841668c0df /tools/xc | |
parent | f914ededc51e14f29b074c98eafd845903096c91 (diff) | |
download | xen-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')
-rw-r--r-- | tools/xc/lib/xc_linux_restore.c | 6 | ||||
-rw-r--r-- | tools/xc/lib/xc_linux_save.c | 4 |
2 files changed, 5 insertions, 5 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; diff --git a/tools/xc/lib/xc_linux_save.c b/tools/xc/lib/xc_linux_save.c index 5168a58bd2..a702a4a292 100644 --- a/tools/xc/lib/xc_linux_save.c +++ b/tools/xc/lib/xc_linux_save.c @@ -174,7 +174,7 @@ int xc_linux_save(int xc_handle, /* A cheesy test to see whether the domain contains valid state. */ if ( ctxt.pt_base == 0 ) { - ERROR("Domain is not in a valid Xenolinux state"); + ERROR("Domain is not in a valid Linux guest OS state"); goto out; } @@ -308,7 +308,7 @@ int xc_linux_save(int xc_handle, /* Start writing out the saved-domain record. */ ppage = map_pfn_readonly(pm_handle, shared_info_frame); - if ( !checked_write(gfd, "XenoLinuxSuspend", 16) || + if ( !checked_write(gfd, "LinuxGuestRecord", 16) || !checked_write(gfd, name, sizeof(name)) || !checked_write(gfd, &srec.nr_pfns, sizeof(unsigned long)) || !checked_write(gfd, &ctxt, sizeof(ctxt)) || |