diff options
author | Masami Hiramatsu <[email protected]> | 2012-08-09 21:30:50 +0900 |
---|---|---|
committer | Rusty Russell <[email protected]> | 2012-09-28 15:05:12 +0930 |
commit | ec8fc870156b2b144f55b6a5a7d135018f04b30e (patch) | |
tree | 449d9375e37f7ff938d214690f4ed72779abf522 /lib/string_helpers.c | |
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 <[email protected]>
Acked-by: Amit Shah <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions