WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH][HVM] fix VNIF restore failure on HVM guest with heav

To: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][HVM] fix VNIF restore failure on HVM guest with heavy workload
From: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Date: Wed, 11 Apr 2007 00:47:38 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, edwin.zhai@xxxxxxxxx
Delivery-date: Tue, 10 Apr 2007 09:47:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
[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