X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/38906765bf812b1c32df889f3ce7e72bb58e1326..bfed90d7c58bf90f06017312bc82965a416986eb:/src/surf/vm_hl13.cpp diff --git a/src/surf/vm_hl13.cpp b/src/surf/vm_hl13.cpp index 4a4d61b4b4..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. @@ -202,9 +202,5 @@ void VMHL13::setBound(double bound){ action_->setBound(bound); } -void VMHL13::setAffinity(Cpu *cpu, unsigned long mask){ - action_->setAffinity(cpu, mask); -} - } }