X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Ftelnet_cons.c;h=be40ba40ad8b74d2b631e62e8219f002c52873ac;hb=de5c2110458436a9300aa0a171dbbe83e415ee4d;hp=98562afc7c498a1e01f2fb2f22dd5c856151bb76;hpb=acaadd79c597c8d5180fbfbec79c01fef3dff003;p=palacios.git diff --git a/palacios/src/devices/telnet_cons.c b/palacios/src/devices/telnet_cons.c index 98562af..be40ba4 100644 --- a/palacios/src/devices/telnet_cons.c +++ b/palacios/src/devices/telnet_cons.c @@ -397,6 +397,8 @@ static int cons_free(struct cons_state * state) { // kill thread... ? + v3_lock_deinit(&(state->cons_lock)); + V3_Free(state); return 0; } @@ -553,7 +555,7 @@ static int cons_init(struct v3_vm_info * vm, v3_cfg_tree_t * cfg) { v3_console_register_cga(frontend, &cons_ops, state); - V3_CREATE_THREAD(cons_server, state, "Telnet Console Network Server"); + V3_CREATE_AND_START_THREAD(cons_server, state, "Telnet Console Network Server", 0); return 0; }