[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 4 of 4] xl: do not run bootloader on restore
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxx> # Date 1283519045 -3600 # Node ID 772b3847d4bcc2a8e12cd7d022d76528b816c702 # Parent 684cfeffdb1b4bacd736bc05ae26211cb91833df xl: do not run bootloader on restore. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> diff -r 684cfeffdb1b -r 772b3847d4bc tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Fri Sep 03 14:03:53 2010 +0100 +++ b/tools/libxl/xl_cmdimpl.c Fri Sep 03 14:04:05 2010 +0100 @@ -1411,10 +1411,12 @@ start: */ dom_info->console_autoconnect = 0; - ret = libxl_run_bootloader(&ctx, &d_config.b_info, d_config.num_disks > 0 ? &d_config.disks[0] : NULL, domid); - if (ret) { - fprintf(stderr, "failed to run bootloader: %d\n", ret); - goto error_out; + if (!restore_file) { + ret = libxl_run_bootloader(&ctx, &d_config.b_info, d_config.num_disks > 0 ? &d_config.disks[0] : NULL, domid); + if (ret) { + fprintf(stderr, "failed to run bootloader: %d\n", ret); + goto error_out; + } } if (!restore_file || !need_daemon) { _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |