X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b2703f0d6d70062bc2074d9b60258356f23d18ba..81e3c97faf69f3b26a807758efedde49e2a6abf6:/src/plugins/vm/VmLiveMigration.hpp diff --git a/src/plugins/vm/VmLiveMigration.hpp b/src/plugins/vm/VmLiveMigration.hpp index 7df29b45bd..39cde37a6c 100644 --- a/src/plugins/vm/VmLiveMigration.hpp +++ b/src/plugins/vm/VmLiveMigration.hpp @@ -10,6 +10,18 @@ namespace simgrid { namespace vm { +class VmMigrationExt { +public: + s4u::ActorPtr issuer_ = nullptr; + s4u::ActorPtr tx_ = nullptr; + s4u::ActorPtr rx_ = nullptr; + static simgrid::xbt::Extension EXTENSION_ID; + virtual ~VmMigrationExt() = default; + explicit VmMigrationExt(s4u::ActorPtr issuer, s4u::ActorPtr rx, s4u::ActorPtr tx) : issuer_(issuer), tx_(tx), rx_(rx) + { + } + static void ensureVmMigrationExtInstalled(); +}; class MigrationRx { /* The miration_rx process uses mbox_ctl to let the caller of do_migration() know the completion of the migration. */