X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8fda7faea52d55ca15ff084a64029b2a63e2f720..4aea7e49e47243417f094ee62b8e43de066e56d2:/src/plugins/vm/VmHostExt.hpp diff --git a/src/plugins/vm/VmHostExt.hpp b/src/plugins/vm/VmHostExt.hpp index 6795ba2f9b..46a26c8ff7 100644 --- a/src/plugins/vm/VmHostExt.hpp +++ b/src/plugins/vm/VmHostExt.hpp @@ -14,8 +14,14 @@ namespace simgrid { namespace vm { /** @brief Host extension for the VMs */ class VmHostExt { - virtual ~VmHostExt(); +public: static simgrid::xbt::Extension EXTENSION_ID; + virtual ~VmHostExt(); + + sg_size_t ramsize = 0; /* available ramsize (0= not taken into account) */ + bool overcommit = true; /* Whether the host allows overcommiting more VM than the avail ramsize allows */ + + static void ensureVmExtInstalled(); }; } }