aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/i8254.c
diff options
context:
space:
mode:
authorTim Deegan <Tim.Deegan@xensource.com>2007-02-07 12:41:46 +0000
committerTim Deegan <Tim.Deegan@xensource.com>2007-02-07 12:41:46 +0000
commit01d0fc79ac7a215f39e6b40e7250a9d63a20bd31 (patch)
tree4d6dffe40ebb092fce095d556d3c5aa4fe40c528 /xen/arch/x86/hvm/i8254.c
parentc2ce43578e7d653614e85ad761f687fa297b70ae (diff)
downloadxen-01d0fc79ac7a215f39e6b40e7250a9d63a20bd31.tar.gz
xen-01d0fc79ac7a215f39e6b40e7250a9d63a20bd31.tar.bz2
xen-01d0fc79ac7a215f39e6b40e7250a9d63a20bd31.zip
[HVM] Save/restore: dynamically calculate the size of the save buffer
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Diffstat (limited to 'xen/arch/x86/hvm/i8254.c')
-rw-r--r--xen/arch/x86/hvm/i8254.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/i8254.c b/xen/arch/x86/hvm/i8254.c
index 11ae4ff0ca..a3a21809fe 100644
--- a/xen/arch/x86/hvm/i8254.c
+++ b/xen/arch/x86/hvm/i8254.c
@@ -445,7 +445,7 @@ static int pit_load(struct domain *d, hvm_domain_context_t *h)
return 0;
}
-HVM_REGISTER_SAVE_RESTORE(PIT, pit_save, pit_load);
+HVM_REGISTER_SAVE_RESTORE(PIT, pit_save, pit_load, 1, HVMSR_PER_DOM);
static void pit_reset(void *opaque)
{