|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH][HVM] fix VNIF restore failure on HVM guest with heav
[PATCH][HVM] fix VNIF restore failure on HVM guest with heavy workload
Signed-off-by: Zhai Edwin <edwin.zhai@xxxxxxxxx>
VNIF has many intrs when save/restore with net workload, so need keep handler
from intrs
diff -r 2fab1ec4dc74 linux-2.6-xen-sparse/drivers/xen/core/reboot.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/reboot.c Mon Apr 09 16:35:01
2007 +0800
+++ b/linux-2.6-xen-sparse/drivers/xen/core/reboot.c Tue Apr 10 16:44:52
2007 +0800
@@ -44,12 +44,14 @@ int __xen_suspend(int fast_suspend)
int __xen_suspend(int fast_suspend)
{
xenbus_suspend();
+ local_irq_disable();
platform_pci_suspend();
/* pvdrv sleep in this hyper-call when save */
HYPERVISOR_shutdown(SHUTDOWN_suspend);
platform_pci_resume();
+ local_irq_enable();
xenbus_resume();
printk("PV stuff on HVM resume successfully!\n");
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|