Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reorganize VM code
authorSUTER Frederic <frederic.suter@cc.in2p3.fr>
Thu, 4 Nov 2021 10:52:54 +0000 (11:52 +0100)
committerSUTER Frederic <frederic.suter@cc.in2p3.fr>
Thu, 4 Nov 2021 10:52:54 +0000 (11:52 +0100)
commit1afb6751888eb781f1fa1bc7c98b7c7338308c49
tree00b934b705d70fa95f8466d29b49d0234b54fad6
parentd6a6f4f26c0d542e0aae18af844d28e5501fed72
Reorganize VM code

After 8 years of probation, let's consider VM as an actual part of S4U
rather than as a plugin. This change should be transparent for the
users.

+ Only the Live Migration and its dirty page tracking mechanisms remain
plugins.
+ The user interface has been moved to src/s4u and the kernel
counterpart to src/kernel/resource.
+ The simgrid::vm namespace doesn't exist anymore, but the live
migration stuff is in simgrid::plugin::vm
+ The contents of VmHostExt.* has been merged to
s4u_VirtualMachine.cpp and VirtualMachine.hpp as this extension is
always needed.
+ Cleanup a bit the namespaces too
20 files changed:
MANIFEST.in
include/simgrid/forward.h
include/simgrid/s4u/Host.hpp
include/simgrid/s4u/VirtualMachine.hpp
src/bindings/java/jmsg_vm.cpp
src/kernel/resource/VirtualMachineImpl.cpp [moved from src/plugins/vm/VirtualMachineImpl.cpp with 95% similarity]
src/kernel/resource/VirtualMachineImpl.hpp [moved from src/plugins/vm/VirtualMachineImpl.hpp with 79% similarity]
src/plugins/vm/VmHostExt.cpp [deleted file]
src/plugins/vm/VmHostExt.hpp [deleted file]
src/plugins/vm/VmLiveMigration.cpp
src/plugins/vm/VmLiveMigration.hpp
src/plugins/vm/dirty_page_tracking.cpp [moved from src/plugins/dirty_page_tracking.cpp with 63% similarity]
src/s4u/s4u_Host.cpp
src/s4u/s4u_VirtualMachine.cpp [moved from src/plugins/vm/s4u_VirtualMachine.cpp with 85% similarity]
src/simix/libsmx.cpp
src/surf/HostImpl.cpp
src/surf/HostImpl.hpp
src/surf/cpu_interface.hpp
src/surf/surf_c_bindings.cpp
tools/cmake/DefinePackages.cmake