virtio: console: Prepare for writing to userspace buffers
authorAmit Shah <amit.shah@redhat.com>
Mon, 21 Dec 2009 15:56:45 +0000 (21:26 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:53 +0000 (14:22 +1030)
commitb766ceed5bbf04ae153389f5a15f53b9b6106a35
tree92a5769e001f6eb7888f287c3917608137c53033
parent17634ba25544d60af1968982929150efad755032
virtio: console: Prepare for writing to userspace buffers

When ports get advertised as char devices, the buffers will come from
userspace. Equip the fill_readbuf function with the ability to write
to userspace buffers.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c