Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Context-based output infrastructure (V3_Print, etc) and modifications to use it
[palacios.git] / palacios / src / vnet / vnet_host.c
index 459f6b7..5d0c3bf 100644 (file)
@@ -28,7 +28,7 @@ struct vnet_thread * vnet_start_thread(int (*func)(void *), void *arg, char * na
        struct vnet_thread * thread = Vnet_Malloc(sizeof(struct vnet_thread));
 
        if (!thread) {
-           PrintError("Cannot allocate space to create a vnet thread\n");
+           PrintError(VM_NONE, VCORE_NONE, "Cannot allocate space to create a vnet thread\n");
            return NULL;
        }
 
@@ -51,7 +51,7 @@ struct vnet_timer * vnet_create_timer(unsigned long interval,
        struct vnet_timer * timer = Vnet_Malloc(sizeof(struct vnet_timer));
 
        if (!timer) {
-           PrintError("Cannot allocate space to create a vnet timer\n");
+           PrintError(VM_NONE, VCORE_NONE, "Cannot allocate space to create a vnet timer\n");
            return NULL;
        }