commit | ec8fc870156b2b144f55b6a5a7d135018f04b30e | [log] [tgz] |
---|---|---|
author | Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> | Thu Aug 09 21:30:50 2012 +0900 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Fri Sep 28 15:05:12 2012 +0930 |
tree | 449d9375e37f7ff938d214690f4ed72779abf522 | |
parent | eb5e89fc70bb3f115b3206ed0c57d3aba1fdd155 [diff] |
virtio/console: Add a failback for unstealable pipe buffer Add a failback memcpy path for unstealable pipe buffer. If buf->ops->steal() fails, virtio-serial tries to copy the page contents to an allocated page, instead of just failing splice(). Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Acked-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>