Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change the way VMs are created.
authorSUTER Frederic <frederic.suter@cc.in2p3.fr>
Wed, 27 Oct 2021 10:59:02 +0000 (12:59 +0200)
committerSUTER Frederic <frederic.suter@cc.in2p3.fr>
Wed, 27 Oct 2021 10:59:02 +0000 (12:59 +0200)
commitd83142e8e1b7e87719cb05ff96b4108ca7138f36
tree9da6f807db819e61c0b846b7cbe28b7ca0943a5e
parente87983084926736400422c2d719106b93fdda4ba
Change the way VMs are created.

Instead of explicitly calling the ctor with new, use the physical host
as a factory thanks to the new Host::create_vm() method.
14 files changed:
examples/cpp/cloud-capping/s4u-cloud-capping.cpp
examples/cpp/cloud-migration/s4u-cloud-migration.cpp
examples/cpp/cloud-simple/s4u-cloud-simple.cpp
examples/cpp/energy-vm/s4u-energy-vm.cpp
include/simgrid/s4u/Host.hpp
src/plugins/vm/VmLiveMigration.cpp
src/plugins/vm/s4u_VirtualMachine.cpp
src/s4u/s4u_Host.cpp
teshsuite/models/cloud-sharing/cloud-sharing.cpp
teshsuite/s4u/cloud-interrupt-migration/cloud-interrupt-migration.cpp
teshsuite/s4u/cloud-two-execs/cloud-two-execs.cpp
teshsuite/s4u/host-on-off-actors/host-on-off-actors.cpp
teshsuite/s4u/vm-live-migration/vm-live-migration.cpp
teshsuite/s4u/vm-suicide/vm-suicide.cpp