virtio_console: Merge struct buffer_token into struct port_buffer
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Fri, 14 Dec 2012 03:16:42 +0000 (13:46 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 18 Dec 2012 04:50:44 +0000 (15:20 +1030)
Refactoring the splice functionality by unifying the approach for
sending scatter-lists and regular buffers. This simplifies
buffer handling and reduces code size. Splice will now allocate
a port_buffer and send_buf() and free_buf() can always be used
for any buffer.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Acked-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found