diff options
| author | Shirley Ma <[email protected]> | 2010-01-18 19:15:23 +0530 |
|---|---|---|
| committer | Rusty Russell <[email protected]> | 2010-02-24 14:22:27 +1030 |
| commit | c021eac4148c16bf53baa0dd14e8ebee6f39dab5 (patch) | |
| tree | 558db2ede74488606614d6e7e277f9914e38fbc1 /lib/memory-notifier-error-inject.c | |
| 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 <[email protected]>
Signed-off-by: Amit Shah <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions