/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
+#include <xbt/signal.hpp>
+
#include "cpu_cas01.hpp"
#include "virtual_machine.hpp"
, hostPM_(hostPM)
{
VMModel::ws_vms.push_back(*this);
- simgrid::s4u::Host::by_name_or_create(name)->extension_set<simgrid::surf::HostImpl>(this);
+ piface = simgrid::s4u::Host::by_name_or_create(name);
+ piface->extension_set<simgrid::surf::HostImpl>(this);
}
/*