commit | c021eac4148c16bf53baa0dd14e8ebee6f39dab5 | [log] [tgz] |
---|---|---|
author | Shirley Ma <mashirle@us.ibm.com> | Mon Jan 18 19:15:23 2010 +0530 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Feb 24 14:22:27 2010 +1030 |
tree | 558db2ede74488606614d6e7e277f9914e38fbc1 | |
parent | 69740c8ba878f58bc3c71f74618fc2cd1da990da [diff] |
virtio: Add ability to detach unused buffers from vrings There's currently no way for a virtio driver to ask for unused buffers, so it has to keep a list itself to reclaim them at shutdown. This is redundant, since virtio_ring stores that information. So add a new hook to do this. Signed-off-by: Shirley Ma <xma@us.ibm.com> Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>