1 /* Copyright (c) 2013-2016. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #include "src/plugins/vm/VmHostExt.hpp"
8 XBT_LOG_EXTERNAL_CATEGORY(surf_vm);
9 XBT_LOG_DEFAULT_CATEGORY(surf_vm);
13 simgrid::xbt::Extension<s4u::Host, VmHostExt> VmHostExt::EXTENSION_ID;
15 void VmHostExt::ensureVmExtInstalled()
17 if (not EXTENSION_ID.valid())
18 EXTENSION_ID = simgrid::s4u::Host::extension_create<VmHostExt>();