From: Kouya Shimura Date: Mon, 12 Nov 2012 17:03:20 +0000 (+0000) Subject: libxl: fix reboot failure of migrated domain X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~7667 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c61788c33886f8708bf30337b5e460678037cae9;p=xen.git 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. Signed-off-by: Kouya Shimura Acked-by: Ian Campbell Committed-by: Ian Campbell --- diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index a43b3712f6..95ce8255bb 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/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);