Skip to contentSkip to conversation

libxl: fix reboot failure of migrated domain

PATCH In review Kouya Shimura 3 participants 3 messages Nov 9, 2012 – Nov 13, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxl: fix reboot failure of migrated domain

The same problem was once fixed by c/s 23878:59c7213b5949 but c/s 25344:0f3b1e13d6af broke it.

tools/libxl/xl_cmdimpl.c +1 -1
diff -r 62885b3c34c8 tools/libxl/xl_cmdimpl.c
@@ -1927,7 +1927,7 @@ start:
          * On subsequent reboot etc we should create the domain, not
          * restore/migrate-receive it again.
          */
-        restore_file = NULL;
+        restoring = 0;
     }else{
         ret = libxl_domain_create_new(ctx, &d_config, &domid,
                                       0, autoconnect_console_how);

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#2 lore raw

Ian Campbell writes ("Re: [Xen-devel] [PATCH] libxl: fix reboot failure of migrated domain"):

Quoted 6 lines

and applied.

Ian (J): Not sure if the test harness does much after the migration phase but adding a few lifecycle ops as a sanity check might be useful?

At least a reboot would probably be a good idea. I need to merge my two branches before I can make a change like that, though.

Ian.