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/
Home Products Support Community News


[Xen-changelog] [xen-unstable] xend: Fix save/restore after previous cha

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xend: Fix save/restore after previous changeset.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 28 Sep 2009 06:05:10 -0700
Delivery-date: Mon, 28 Sep 2009 06:05:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1254142775 -3600
# Node ID 1e33261a814f1c099855008a7bd9c378e4dad800
# Parent  3e0675c57933be59b8d38bff1e61876e8672b0ab
xend: Fix save/restore after previous changeset.

Platform variable 'tsc_native' is saved/restored as a string, so must
be converted to an integer before passing to domain_set_tsc_native().

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
 tools/python/xen/xend/XendDomainInfo.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 3e0675c57933 -r 1e33261a814f tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Mon Sep 28 10:01:10 2009 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py   Mon Sep 28 13:59:35 2009 +0100
@@ -2426,7 +2426,7 @@ class XendDomainInfo:
         # Set TSC mode of domain
         tsc_native = self.info["platform"].get("tsc_native")
         if arch.type == "x86" and tsc_native is not None:
-            xc.domain_set_tsc_native(self.domid, tsc_native)
+            xc.domain_set_tsc_native(self.domid, int(tsc_native))
         # Set timer configuration of domain
         timer_mode = self.info["platform"].get("timer_mode")

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xend: Fix save/restore after previous changeset., Xen patchbot-unstable <=