diff options
| author | Ladi Prosek | 2016-12-16 13:31:22 +0100 |
|---|---|---|
| committer | Michael Brown | 2017-01-22 14:20:42 +0100 |
| commit | b782a56be725569fb68f92b81a01903d1652c5b0 (patch) | |
| tree | c07056af08630fbdb6e0ea2c99c5245fb2e0f0fe /src/drivers/linux | |
| parent | [virtio] Cap queue size to MAX_QUEUE_NUM (diff) | |
| download | ipxe-b782a56be725569fb68f92b81a01903d1652c5b0.tar.gz ipxe-b782a56be725569fb68f92b81a01903d1652c5b0.tar.xz ipxe-b782a56be725569fb68f92b81a01903d1652c5b0.zip | |
[virtio] Simplify virtqueue shutdown
This commit introduces virtnet_free_virtqueues called on all virtqueue
error and shutdown paths. vpm_find_vqs no longer cleans up after itself
and instead expects virtnet_free_virtqueues to be always called to undo
its effect.
Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/linux')
0 files changed, 0 insertions, 0 deletions
