diff options
| author | Jason Wang | 2015-05-29 08:15:26 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2015-05-31 16:45:38 +0200 |
| commit | 8ad176aaed24535f535e0fdb03c538c23017535d (patch) | |
| tree | 365658dbb30455ac495c256e3bb5c19607e7a93b /include/exec | |
| parent | virtio: device_plugged() can fail (diff) | |
| download | qemu-8ad176aaed24535f535e0fdb03c538c23017535d.tar.gz qemu-8ad176aaed24535f535e0fdb03c538c23017535d.tar.xz qemu-8ad176aaed24535f535e0fdb03c538c23017535d.zip | |
virtio: introduce virtio_get_num_queues()
This patch introduces virtio_get_num_queues() which iterates the vqs
array and return the number of virtqueues used by device.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
