Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use Ptr to store disks of a HostImpl, do not care about cleanup anymore
[simgrid.git] / src / kernel / resource / VirtualMachineImpl.hpp
index 81cd3d6..8d51c7d 100644 (file)
@@ -1,11 +1,11 @@
-/* Copyright (c) 2004-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2004-2023. The SimGrid Team. All rights reserved.          */
 
 /* 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 <simgrid/s4u/VirtualMachine.hpp>
 
-#include "src/surf/HostImpl.hpp"
+#include "src/kernel/resource/HostImpl.hpp"
 
 #ifndef VM_INTERFACE_HPP_
 #define VM_INTERFACE_HPP_
@@ -83,8 +83,8 @@ private:
 /*********
  * Model *
  *********/
-/** @ingroup SURF_vm_interface
- * @brief SURF VM model interface class
+/** @ingroup Model_vm_interface
+ * @brief VM model interface class
  * @details A model is an object which handle the interactions between its Resources and its Actions
  */
 class XBT_PRIVATE VMModel : public HostModel {
@@ -99,6 +99,7 @@ public:
   {
     return nullptr;
   };
+  Action* io_stream(s4u::Host* src_host, DiskImpl* src_disk, s4u::Host* dst_host, DiskImpl* dst_disk, double size) override { return nullptr; }
 };
 } // namespace kernel::resource
 } // namespace simgrid