Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
merge from the java bindings work
authorTakahiro Hirofuchi <t.hirofuchi+sg@aist.go.jp>
Wed, 24 Apr 2013 16:01:23 +0000 (18:01 +0200)
committerTakahiro Hirofuchi <t.hirofuchi+sg@aist.go.jp>
Wed, 24 Apr 2013 16:01:23 +0000 (18:01 +0200)
Merge branch 'hypervisor' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into hypervisor

include/msg/msg.h
src/msg/msg_vm.c

index 54da595..cf91237 100644 (file)
@@ -381,7 +381,7 @@ XBT_PUBLIC(const char*) MSG_vm_get_name(msg_vm_t);
 // TODO add VDI later
 XBT_PUBLIC(msg_vm_t) MSG_vm_create_core(msg_host_t location, const char *name);
 XBT_PUBLIC(msg_vm_t) MSG_vm_create(msg_host_t ind_pm, const char *name,
-    int core_nb, int mem_cap, int net_cap, char *disk_path, int disk_size);
+    int core_nb, long mem_cap, long net_cap, char *disk_path, long disk_size);
 
 XBT_PUBLIC(void) MSG_vm_destroy(msg_vm_t vm);
 
index d3aee81..a5331a5 100644 (file)
@@ -169,7 +169,7 @@ int MSG_vm_is_restoring(msg_vm_t vm)
  *
  */
 msg_vm_t MSG_vm_create(msg_host_t ind_pm, const char *name,
-                                            int ncpus, int ramsize, int net_cap, char *disk_path, int disksize)
+                                            int ncpus, long ramsize, long net_cap, char *disk_path, long disksize)
 {
   msg_vm_t vm = MSG_vm_create_core(ind_pm, name);