Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
VM: getters should not be simcalls
[simgrid.git] / src / simix / libsmx.cpp
index 606f99a..a3bf0a9 100644 (file)
@@ -186,19 +186,6 @@ void simcall_vm_start(sg_host_t vm)
   simgrid::simix::kernelImmediate(std::bind(SIMIX_vm_start, vm));
 }
 
-/**
- * \ingroup simix_vm_management
- * \brief Get the physical host on which the given VM runs.
- *
- * \param vm VM
- * \return The physical host
- */
-void *simcall_vm_get_pm(sg_host_t vm)
-{
-  return simgrid::simix::kernelImmediate(
-      [vm]() { return static_cast<simgrid::s4u::VirtualMachine*>(vm)->pimpl_vm_->getPm(); });
-}
-
 /**
  * @brief Function to set the CPU bound of the given SIMIX VM host.
  *