X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Ftelnet_cons.c;h=b1558491fc47531b556c3e08ab1ccc7791ba8e29;hb=fe9b69407ae9ac7aeb6a9d1500c89d48953864ac;hp=fc03c88ea438a2d339aa4ac65b1b685cb7c4c793;hpb=72420d58d18ec71d4777d029daaf0c6a1c820b32;p=palacios.git diff --git a/palacios/src/devices/telnet_cons.c b/palacios/src/devices/telnet_cons.c index fc03c88..b155849 100644 --- a/palacios/src/devices/telnet_cons.c +++ b/palacios/src/devices/telnet_cons.c @@ -390,15 +390,20 @@ static struct v3_console_ops cons_ops = { .update_screen = screen_update, .update_cursor = cursor_update, .scroll = scroll, + .set_text_resolution = NULL, }; -static int cons_free(struct vm_device * dev) { - return -1; +static int cons_free(struct cons_state * state) { + + // kill thread... ? + + V3_Free(state); + return 0; } static struct v3_device_ops dev_ops = { - .free = cons_free, + .free = (int (*)(void *))cons_free, };