X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Flnx_virtio_console.c;h=d934cb33c5ab0405e2be807ee7d4312e55eae904;hb=f41eb8ea81fe04856e0939d0f6a7bec9564a8043;hp=e3087a78d88d33b42bdf217d7014d4c328fbbaf1;hpb=acaadd79c597c8d5180fbfbec79c01fef3dff003;p=palacios.git diff --git a/palacios/src/devices/lnx_virtio_console.c b/palacios/src/devices/lnx_virtio_console.c index e3087a7..d934cb3 100644 --- a/palacios/src/devices/lnx_virtio_console.c +++ b/palacios/src/devices/lnx_virtio_console.c @@ -155,7 +155,7 @@ static int handle_kick(struct guest_info * core, struct virtio_console_state * v } -static uint64_t virtio_input(struct v3_vm_info * vm, uint8_t * buf, uint64_t len, void * private_data) { +static sint64_t virtio_input(struct v3_vm_info * vm, uint8_t * buf, sint64_t len, void * private_data) { struct virtio_console_state * cons_state = private_data; struct virtio_queue * q = &(cons_state->queue[0]); int xfer_len = 0;