summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/suspend.c
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2010-12-01 15:51:44 +0100
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2010-12-02 15:40:53 +0100
commit512b109ec9620d037d6d2f6bd1bae9ce34dd6779 (patch)
treed9233927d4b790adca32da6f6a34aa9e0a481317 /arch/x86/xen/suspend.c
parentxen: fix save/restore for PV on HVM guests with pirq remapping (diff)
downloadlinux-512b109ec9620d037d6d2f6bd1bae9ce34dd6779.tar.xz
linux-512b109ec9620d037d6d2f6bd1bae9ce34dd6779.zip
xen: unplug the emulated devices at resume time
Early after being resumed we need to unplug again the emulated devices. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'arch/x86/xen/suspend.c')
-rw-r--r--arch/x86/xen/suspend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/xen/suspend.c b/arch/x86/xen/suspend.c
index 1d789d56877c..9bbd63a129b5 100644
--- a/arch/x86/xen/suspend.c
+++ b/arch/x86/xen/suspend.c
@@ -31,6 +31,7 @@ void xen_hvm_post_suspend(int suspend_cancelled)
int cpu;
xen_hvm_init_shared_info();
xen_callback_vector();
+ xen_unplug_emulated_devices();
if (xen_feature(XENFEAT_hvm_safe_pvclock)) {
for_each_online_cpu(cpu) {
xen_setup_runstate_info(cpu);