Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
one step toward a live migration plugin
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 18 Dec 2017 23:16:43 +0000 (00:16 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 18 Dec 2017 23:51:47 +0000 (00:51 +0100)
commitde74c92736a83f89b47de30f7603e25d4f6687a5
tree95c2ed00361e7d6b6b396a169cfffab47eff254e
parent29ce6b3ff37cf7b49884614f368870292b62aa38
one step toward a live migration plugin

have dirty page tracking in a separate plugin (kernel) and stop have
dirty page stuff when VM and Migration are not used.

Indeed, this plugin is only needed if vm have to be migrated live. In
that case, one should:
 1) #include "simgrid/plugins/live_migration.h"
 2) call "MSG/sg_vm_live_migration_plugin_init() right after the
    initialization of the simulation (MSG_init or s4u::Engine)
15 files changed:
examples/msg/cloud-capping/cloud-capping.c
examples/msg/cloud-masterworker/cloud-masterworker.c
examples/msg/cloud-migration/cloud-migration.c
include/simgrid/plugins/live_migration.h [new file with mode: 0644]
include/simgrid/s4u/VirtualMachine.hpp
src/msg/msg_gos.cpp
src/msg/msg_private.hpp
src/msg/msg_task.cpp
src/msg/msg_vm.cpp
src/plugins/vm/VirtualMachineImpl.cpp
src/plugins/vm/VirtualMachineImpl.hpp
src/plugins/vm/s4u_VirtualMachine.cpp
src/surf/plugins/dirty_page_tracking.cpp [new file with mode: 0644]
teshsuite/msg/cloud-simple/cloud-simple.c
tools/cmake/DefinePackages.cmake