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>

+3 -2
+1 -1
arch/x86/xen/platform-pci-unplug.c
··· 68 68 return 0; 69 69 } 70 70 71 - void __init xen_unplug_emulated_devices(void) 71 + void xen_unplug_emulated_devices(void) 72 72 { 73 73 int r; 74 74
+1
arch/x86/xen/suspend.c
··· 31 31 int cpu; 32 32 xen_hvm_init_shared_info(); 33 33 xen_callback_vector(); 34 + xen_unplug_emulated_devices(); 34 35 if (xen_feature(XENFEAT_hvm_safe_pvclock)) { 35 36 for_each_online_cpu(cpu) { 36 37 xen_setup_runstate_info(cpu);
+1 -1
arch/x86/xen/xen-ops.h
··· 43 43 44 44 void xen_callback_vector(void); 45 45 void xen_hvm_init_shared_info(void); 46 - void __init xen_unplug_emulated_devices(void); 46 + void xen_unplug_emulated_devices(void); 47 47 48 48 void __init xen_build_dynamic_phys_to_machine(void); 49 49