X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/efacb3792fdfe6bc849af2ce1a2e426c092601fb..bfed90d7c58bf90f06017312bc82965a416986eb:/src/surf/vm_hl13.cpp diff --git a/src/surf/vm_hl13.cpp b/src/surf/vm_hl13.cpp index c51615efaa..09cb6630b6 100644 --- a/src/surf/vm_hl13.cpp +++ b/src/surf/vm_hl13.cpp @@ -28,11 +28,11 @@ VMHL13Model::VMHL13Model() : VMModel() {} void VMHL13Model::updateActionsState(double /*now*/, double /*delta*/) {} -VirtualMachine *VMHL13Model::createVM(const char *name, sg_host_t host_PM) +s4u::Host *VMHL13Model::createVM(const char *name, sg_host_t host_PM) { VirtualMachine* vm = new VMHL13(this, name, host_PM); VMCreatedCallbacks(vm); - return vm; + return vm->piface; } /* In the real world, processes on the guest operating system will be somewhat degraded due to virtualization overhead.