aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/intercept.c
diff options
context:
space:
mode:
authorTim Deegan <Tim.Deegan@xensource.com>2007-01-20 11:17:38 +0000
committerTim Deegan <Tim.Deegan@xensource.com>2007-01-20 11:17:38 +0000
commit3969aaf2765ffcda14b4d53a5b0980f0d443331b (patch)
tree0a0919319f9beb9b179b5af2ff72582f7e786395 /xen/arch/x86/hvm/intercept.c
parente105919b0120a0eccfe59ece2ce545ddd6f0881f (diff)
downloadxen-3969aaf2765ffcda14b4d53a5b0980f0d443331b.tar.gz
xen-3969aaf2765ffcda14b4d53a5b0980f0d443331b.tar.bz2
xen-3969aaf2765ffcda14b4d53a5b0980f0d443331b.zip
[HVM] Save/restore cleanups 01: PIT
Define public structure for the saved PIT data and use it instead of a series of explicit loads and stores. Don't save ephemeral Xen timer structs; rebuild them instead. Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Diffstat (limited to 'xen/arch/x86/hvm/intercept.c')
-rw-r--r--xen/arch/x86/hvm/intercept.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/arch/x86/hvm/intercept.c b/xen/arch/x86/hvm/intercept.c
index c7b56c0111..086a4d68e0 100644
--- a/xen/arch/x86/hvm/intercept.c
+++ b/xen/arch/x86/hvm/intercept.c
@@ -358,6 +358,8 @@ int hvm_load(struct vcpu *v, hvm_domain_context_t *h)
instance_id = hvm_get_32u(h);
version_id = hvm_get_32u(h);
+ printk("HVM S/R Loading \"%s\" instance %#x\n", idstr, instance_id);
+
rec_len = hvm_get_32u(h);
rec_pos = hvm_ctxt_tell(h);