aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-05-01 10:18:11 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-05-01 10:18:11 +0100
commit47d265319bc1d8711c147c1e85d3cce699543d4c (patch)
tree46788d3d2b25702f363be7795f307595419a7610
parentbb4adad4e121150f2a17cf6b2fdbfc1cbee39f1c (diff)
downloadxen-47d265319bc1d8711c147c1e85d3cce699543d4c.tar.gz
xen-47d265319bc1d8711c147c1e85d3cce699543d4c.tar.bz2
xen-47d265319bc1d8711c147c1e85d3cce699543d4c.zip
xend: Fix spurious store changes on rename/migrate
_storeChanged() was incorrectly comparing a string to an sxpr, thus always firing and causing unnecessary watches to be fired in the domU. Signed-off-by: John Levon <john.levon@sun.com>
-rw-r--r--tools/python/xen/xend/XendDomainInfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py
index 4dc288314c..c082c19090 100644
--- a/tools/python/xen/xend/XendDomainInfo.py
+++ b/tools/python/xen/xend/XendDomainInfo.py
@@ -885,7 +885,7 @@ class XendDomainInfo:
# Check whether image definition has been updated
image_sxp = self._readVm('image')
- if image_sxp and image_sxp != self.info.image_sxpr():
+ if image_sxp and image_sxp != sxp.to_string(self.info.image_sxpr()):
self.info.update_with_image_sxp(sxp.from_string(image_sxp))
changed = True