All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libxl: fix reboot failure of migrated domain
@ 2012-11-09  7:51 Kouya Shimura
  2012-11-12 17:04 ` Ian Campbell
  0 siblings, 1 reply; 3+ messages in thread
From: Kouya Shimura @ 2012-11-09  7:51 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 149 bytes --]

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

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>


[-- Attachment #2: fix_reboot.patch --]
[-- Type: text/x-patch, Size: 525 bytes --]

diff -r 62885b3c34c8 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c	Thu Nov 08 17:58:19 2012 +0100
+++ b/tools/libxl/xl_cmdimpl.c	Fri Nov 09 16:11:04 2012 +0900
@@ -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);

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] libxl: fix reboot failure of migrated domain
  2012-11-09  7:51 [PATCH] libxl: fix reboot failure of migrated domain Kouya Shimura
@ 2012-11-12 17:04 ` Ian Campbell
  2012-11-13 16:23   ` Ian Jackson
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Campbell @ 2012-11-12 17:04 UTC (permalink / raw)
  To: Kouya Shimura; +Cc: Ian Jackson, xen-devel@lists.xen.org

On Fri, 2012-11-09 at 07:51 +0000, Kouya Shimura wrote:
> The same problem was once fixed by c/s 23878:59c7213b5949
> but c/s 25344:0f3b1e13d6af broke it.
> 
> Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>

Acked-by: Ian Campbell <ian.campbell@citrix.com>

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?

Ian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] libxl: fix reboot failure of migrated domain
  2012-11-12 17:04 ` Ian Campbell
@ 2012-11-13 16:23   ` Ian Jackson
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Jackson @ 2012-11-13 16:23 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Kouya Shimura, xen-devel@lists.xen.org

Ian Campbell writes ("Re: [Xen-devel] [PATCH] libxl: fix reboot failure of migrated domain"):
> Acked-by: Ian Campbell <ian.campbell@citrix.com>
> 
> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-13 16:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-09  7:51 [PATCH] libxl: fix reboot failure of migrated domain Kouya Shimura
2012-11-12 17:04 ` Ian Campbell
2012-11-13 16:23   ` Ian Jackson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.