[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] broken live migration in xen 4.3 (release)

2014-03-18 13:36 GMT+04:00 Ian Campbell <Ian.Campbell@xxxxxxxxxx>:
> Did you by any chance produce a debug patch to help you track this down
> (e.g. to log the unexpected message)? If so then that might be something
> which is useful to others diagnosing the same issue -- would you mind
> submitting it? See http://wiki.xen.org/wiki/Submitting_Xen_Patches for
> guidance. (Even if it is unsuitable for applying it would perhaps be
> helpful to have in the list archives to point at)

I create simple patch :

diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c
index a7f888c..6d87afe 100644
--- a/tools/libxl/xl_cmdimpl.c
+++ b/tools/libxl/xl_cmdimpl.c
@@ -3347,8 +3347,8 @@ static int migrate_read_fixedmessage(int fd,
const void *msg, int msgsz,
     if (rc) return ERROR_FAIL;

     if (memcmp(buf, msg, msgsz)) {
-        fprintf(stderr, "%s contained unexpected data instead of %s\n",
-                stream, what);
+        fprintf(stderr, "%s contained unexpected data instead of %s
buf %s msg %s\n",
+                stream, what, buf, (char*) msg);
         if (rune)
             fprintf(stderr, "(command run was: %s )\n", rune);
         return ERROR_FAIL;

I don't known does it need to be in xen repo?

Vasiliy Tolstov,
e-mail: v.tolstov@xxxxxxxxx
jabber: vase@xxxxxxxxx

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.