X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/45c3f1cfee86fb48c96d53f8267f99b6db6e3d7a..ed6092e7baf2eb4a875f5b8a667838ef1979862c:/src/surf/vm_workstation_interface.hpp diff --git a/src/surf/vm_workstation_interface.hpp b/src/surf/vm_workstation_interface.hpp index 66a3e9da10..4479a7f643 100644 --- a/src/surf/vm_workstation_interface.hpp +++ b/src/surf/vm_workstation_interface.hpp @@ -12,8 +12,6 @@ #define GUESTOS_NOISE 100 // This value corresponds to the cost of the global action associated to the VM // It corresponds to the cost of a VM running no tasks. -void surf_vm_workstation_model_init(void); - /*********** * Classes * ***********/ @@ -68,15 +66,16 @@ public: */ ~WorkstationVMModel(){}; + WorkstationPtr createWorkstation(const char *name){DIE_IMPOSSIBLE;} + /** * @brief Create a new WorkstationVM - * + * * @param name The name of the new WorkstationVM * @param ind_phys_workstation The workstation hosting the VM - * + * */ - virtual void createResource(const char *name, void *ind_phys_workstation)=0; - + virtual WorkstationVMPtr createWorkstationVM(const char *name, surf_resource_t ind_phys_workstation)=0; void adjustWeightOfDummyCpuActions() {}; typedef boost::intrusive::list