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] c/s 20336 (oos per-domain switch) breaks xm restore

To: "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] c/s 20336 (oos per-domain switch) breaks xm restore
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Mon, 19 Oct 2009 13:51:47 -0700 (PDT)
Delivery-date: Mon, 19 Oct 2009 13:53:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
diff -r ea34183c5c11 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Mon Oct 19 13:31:21 2009 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py   Mon Oct 19 14:45:30 2009 -0600
@@ -2421,7 +2421,7 @@ class XendDomainInfo:
             s3_integrity = self.info['s3_integrity']
 
         oos = self.info['platform'].get('oos', 1)
-        oos_off = 1 - oos
+        oos_off = 1 - int(oos)
 
         flags = (int(hvm) << 0) | (int(hap) << 1) | (int(s3_integrity) << 2) | 
(int(oos_off) << 3)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] c/s 20336 (oos per-domain switch) breaks xm restore, Dan Magenheimer <=