2017-03-14 17:35:49 +00:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
|
|
|
#include <xen/xen.h>
|
|
|
|
#include <xen/features.h>
|
|
|
|
#include <xen/interface/features.h>
|
|
|
|
|
|
|
|
#include "xen-ops.h"
|
|
|
|
|
|
|
|
void xen_hvm_post_suspend(int suspend_cancelled)
|
|
|
|
{
|
2017-06-03 00:05:59 +00:00
|
|
|
if (!suspend_cancelled) {
|
2017-03-14 17:35:49 +00:00
|
|
|
xen_hvm_init_shared_info();
|
2017-06-03 00:05:59 +00:00
|
|
|
xen_vcpu_restore();
|
|
|
|
}
|
2017-03-14 17:35:49 +00:00
|
|
|
xen_callback_vector();
|
|
|
|
xen_unplug_emulated_devices();
|
|
|
|
}
|