X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9104957deccc59e0e804215d5db498fabfd40d29..968613a336f2fff832f9085e69b990e7371ca8e5:/include/simgrid/plugins/live_migration.h diff --git a/include/simgrid/plugins/live_migration.h b/include/simgrid/plugins/live_migration.h index 4b32738f3e..52f0ed6ada 100644 --- a/include/simgrid/plugins/live_migration.h +++ b/include/simgrid/plugins/live_migration.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2017-2023. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -6,6 +6,7 @@ #ifndef SIMGRID_PLUGINS_LIVE_MIGRATION_H_ #define SIMGRID_PLUGINS_LIVE_MIGRATION_H_ +#include #include #include @@ -28,14 +29,6 @@ XBT_PUBLIC int sg_vm_is_migrating(const_sg_vm_t vm); XBT_PUBLIC sg_vm_t sg_vm_create_migratable(sg_host_t pm, const char* name, int coreAmount, int ramsize, int mig_netspeed, int dp_intensity); -#define MSG_vm_live_migration_plugin_init() sg_vm_live_migration_plugin_init() - -#define MSG_vm_create_migratable(pm, name, coreAmount, ramsize, mig_netspeed, dp_intensity) \ - sg_vm_create_migratable((pm), (name), (coreAmount), (ramsize), (mig_netspeed), (dp_intensity)) - -#define MSG_vm_is_migrating(vm) sg_vm_is_migrating(vm) -#define MSG_vm_migrate(vm, dst_pm) sg_vm_migrate((vm), (dst_pm)) - SG_END_DECL #endif