namespace vm {
/** @brief Host extension for the VMs */
class VmHostExt {
- virtual ~VmHostExt();
+public:
static simgrid::xbt::Extension<simgrid::s4u::Host, VmHostExt> 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();
};
}
}