Vitaly Kuznetsov | 9963236 | 2017-03-14 18:35:49 +0100 | [diff] [blame] | 1 | #include <linux/types.h> |
| 2 | |
| 3 | #include <xen/xen.h> |
| 4 | #include <xen/features.h> |
| 5 | #include <xen/interface/features.h> |
| 6 | |
| 7 | #include "xen-ops.h" |
| 8 | |
| 9 | void xen_hvm_post_suspend(int suspend_cancelled) |
| 10 | { |
Ankur Arora | 0b64ffb | 2017-06-02 17:05:59 -0700 | [diff] [blame] | 11 | if (!suspend_cancelled) { |
Vitaly Kuznetsov | 9963236 | 2017-03-14 18:35:49 +0100 | [diff] [blame] | 12 | xen_hvm_init_shared_info(); |
Ankur Arora | 0b64ffb | 2017-06-02 17:05:59 -0700 | [diff] [blame] | 13 | xen_vcpu_restore(); |
| 14 | } |
Vitaly Kuznetsov | 9963236 | 2017-03-14 18:35:49 +0100 | [diff] [blame] | 15 | xen_callback_vector(); |
| 16 | xen_unplug_emulated_devices(); |
Vitaly Kuznetsov | 9963236 | 2017-03-14 18:35:49 +0100 | [diff] [blame] | 17 | } |