diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2010-05-14 07:45:07 -0400 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2010-07-22 19:46:21 -0400 |
commit | 016b6f5fe8398b0291cece60b749d7c930a2e09c (patch) | |
tree | 430e9aad74f223dc5d144b60f4b78a0c3fb9cdfd /include/xen/xen-ops.h | |
parent | 183d03cc4ff39e0f0d952c09aa96d0abfd6e0c3c (diff) |
xen: Add suspend/resume support for PV on HVM guests.
Suspend/resume requires few different things on HVM: the suspend
hypercall is different; we don't need to save/restore memory related
settings; except the shared info page and the callback mechanism.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'include/xen/xen-ops.h')
-rw-r--r-- | include/xen/xen-ops.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h index 883a21bba24b..46bc81ef74c6 100644 --- a/include/xen/xen-ops.h +++ b/include/xen/xen-ops.h | |||
@@ -7,6 +7,7 @@ DECLARE_PER_CPU(struct vcpu_info *, xen_vcpu); | |||
7 | 7 | ||
8 | void xen_pre_suspend(void); | 8 | void xen_pre_suspend(void); |
9 | void xen_post_suspend(int suspend_cancelled); | 9 | void xen_post_suspend(int suspend_cancelled); |
10 | void xen_hvm_post_suspend(int suspend_cancelled); | ||
10 | 11 | ||
11 | void xen_mm_pin_all(void); | 12 | void xen_mm_pin_all(void); |
12 | void xen_mm_unpin_all(void); | 13 | void xen_mm_unpin_all(void); |
@@ -14,4 +15,6 @@ void xen_mm_unpin_all(void); | |||
14 | void xen_timer_resume(void); | 15 | void xen_timer_resume(void); |
15 | void xen_arch_resume(void); | 16 | void xen_arch_resume(void); |
16 | 17 | ||
18 | int xen_setup_shutdown_event(void); | ||
19 | |||
17 | #endif /* INCLUDE_XEN_OPS_H */ | 20 | #endif /* INCLUDE_XEN_OPS_H */ |