commit | a3cde44908429e52b2ec052ad5a70ef60e1f2d56 | [log] [tgz] |
---|---|---|
author | Amit Shah <amit.shah@redhat.com> | Mon Jan 18 19:15:03 2010 +0530 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Feb 24 14:22:38 2010 +1030 |
tree | 5470aabeb5fcb10c5372b4771ea7d4c48746446e | |
parent | e27b519807e04d950802cb89f7b22933d8d2f837 [diff] |
virtio: console: introduce a get_inbuf helper to fetch bufs from in_vq This makes taking locks around the get_buf vq operation easier, as well as complements the add_inbuf() operation. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>