From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhai, Edwin" Subject: [PATCH][HVM] fix VNIF restore failure on HVM guest with heavy workload Date: Wed, 11 Apr 2007 00:47:38 +0800 Message-ID: <20070410164738.GA24587@edwin-gen.ccr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt , Keir Fraser , Tim Deegan Cc: xen-devel@lists.xensource.com, edwin.zhai@intel.com List-Id: xen-devel@lists.xenproject.org [PATCH][HVM] fix VNIF restore failure on HVM guest with heavy workload Signed-off-by: Zhai Edwin 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");