X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fvnet%2Fvnet_host.c;h=c03e0fa4f30bf8f278ba741ab3ef3ffab70a5003;hb=de5c2110458436a9300aa0a171dbbe83e415ee4d;hp=459f6b7358e2888f04eabd0e4e9eb68f381cf025;hpb=b7093fd3602ef2c796a1f8a0daded9d6aad0b756;p=palacios.git diff --git a/palacios/src/vnet/vnet_host.c b/palacios/src/vnet/vnet_host.c index 459f6b7..c03e0fa 100644 --- a/palacios/src/vnet/vnet_host.c +++ b/palacios/src/vnet/vnet_host.c @@ -28,11 +28,11 @@ 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; } - 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; @@ -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; }