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;
}
- thread->host_thread = host_hooks->thread_start(func, arg, name);
+ thread->host_thread = host_hooks->thread_start(func, arg, name, 0);
if(thread->host_thread){
return thread;
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;
}