|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xend: Fix spurious store changes on renam
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1178011091 -3600
# Node ID 26643b7b48b90111701bced27808c37ca339e2bf
# Parent 1cfe47358f9f7eef158a97c77ca5031da0ce6ea5
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@xxxxxxx>
---
tools/python/xen/xend/XendDomainInfo.py | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 1cfe47358f9f -r 26643b7b48b9 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Tue May 01 10:16:26 2007 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py Tue May 01 10:18:11 2007 +0100
@@ -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
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] xend: Fix spurious store changes on rename/migrate,
Xen patchbot-unstable <=
|
|
|
|
|