X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Ftelnet_cons.c;fp=palacios%2Fsrc%2Fdevices%2Ftelnet_cons.c;h=d0c2b1f731e568b9b27d45610902725c06f73e70;hp=30e07d1f22ecfbf804916b7dab5c9a90f0adf7bb;hb=de6084de2145f3889a16d8498e5e7d44e96e0162;hpb=87b1679efe8bee960b65cfd730188ccc94966b71 diff --git a/palacios/src/devices/telnet_cons.c b/palacios/src/devices/telnet_cons.c index 30e07d1..d0c2b1f 100644 --- a/palacios/src/devices/telnet_cons.c +++ b/palacios/src/devices/telnet_cons.c @@ -29,8 +29,10 @@ #include #include -#include +#include +#if 0 #include +#endif #define NUM_ROWS 25 #define NUM_COLS 80 @@ -354,7 +356,7 @@ static int screen_update(uint_t x, uint_t y, uint_t length, void * private_data) return ret; } -static int scroll(uint_t rows, void * private_data) { +static int scroll(int rows, void * private_data) { struct vm_device * dev = (struct vm_device *)private_data; struct cons_state * state = (struct cons_state *)dev->private_data; addr_t irq_state = 0; @@ -516,6 +518,8 @@ static int cons_server(void * arg) { state->connected = 0; V3_Close_Socket(state->client_fd); } + + return -1; }