[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xl: remove duplicate code in migrate_domain()
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1275372410 -3600 # Node ID 458589ad3793ca68be1a067683e6b22d918a4ceb # Parent 384ece553c858335a17471110f9103ad6ad126ef xl: remove duplicate code in migrate_domain() libxl_domid_to_name() have already been called in save_domain_core_begin()->find_domain(), so remove it. Signed-off-by: Yang Hongyang <yanghy@xxxxxxxxxxxxxx> --- tools/libxl/xl_cmdimpl.c | 5 ----- 1 files changed, 5 deletions(-) diff -r 384ece553c85 -r 458589ad3793 tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Tue Jun 01 07:06:05 2010 +0100 +++ b/tools/libxl/xl_cmdimpl.c Tue Jun 01 07:06:50 2010 +0100 @@ -1875,11 +1875,6 @@ static void migrate_domain(char *domain_ save_domain_core_begin(domain_spec, override_config_file, &config_data, &config_len); - if (!common_domname) { - common_domname = libxl_domid_to_name(&ctx, domid); - /* libxl_domid_to_name fails ? don't bother with names then */ - } - if (!config_len) { fprintf(stderr, "No config file stored for running domain and " "none supplied - cannot migrate.\n"); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |