aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/vpic.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/vpic.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/vpic.c')
-rw-r--r--xen/arch/x86/hvm/vpic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/vpic.c b/xen/arch/x86/hvm/vpic.c
index 41e3ed11a4..3a5b2a16a8 100644
--- a/xen/arch/x86/hvm/vpic.c
+++ b/xen/arch/x86/hvm/vpic.c
@@ -440,7 +440,7 @@ static int vpic_load(struct domain *d, hvm_domain_context_t *h)
return 0;
}
-HVM_REGISTER_SAVE_RESTORE(PIC, vpic_save, vpic_load);
+HVM_REGISTER_SAVE_RESTORE(PIC, vpic_save, vpic_load, 2, HVMSR_PER_DOM);
void vpic_init(struct domain *d)
{