-/* Copyright (c) 2004-2019. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2004-2021. 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. */
s4u::ActorPtr tx_ = nullptr;
s4u::ActorPtr rx_ = nullptr;
static simgrid::xbt::Extension<simgrid::s4u::Host, VmMigrationExt> EXTENSION_ID;
- virtual ~VmMigrationExt() = default;
explicit VmMigrationExt(s4u::ActorPtr issuer, s4u::ActorPtr rx, s4u::ActorPtr tx) : issuer_(issuer), tx_(tx), rx_(rx)
{
}
};
class MigrationRx {
- /* The miration_rx process uses mbox_ctl to let the caller of do_migration() know the completion of the migration. */
+ /* The migration_rx process uses mbox_ctl to let the caller of do_migration() know the completion of the migration.
+ */
s4u::Mailbox* mbox_ctl;
/* The migration_rx and migration_tx processes use mbox to transfer migration data. */
s4u::Mailbox* mbox;