From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kouya Shimura Subject: [PATCH] libxl: fix reboot failure of migrated domain Date: Fri, 9 Nov 2012 16:51:23 +0900 Message-ID: <509CB5FB.7020404@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090302050800080606010606" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --------------090302050800080606010606 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit The same problem was once fixed by c/s 23878:59c7213b5949 but c/s 25344:0f3b1e13d6af broke it. Signed-off-by: Kouya Shimura --------------090302050800080606010606 Content-Type: text/x-patch; name="fix_reboot.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="fix_reboot.patch" 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); --------------090302050800080606010606 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --------------090302050800080606010606--