diff options
| author | Lu Lina <lina.lulina@huawei.com> | 2015-07-27 14:25:59 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-08-14 23:40:32 +0200 |
| commit | fe2d1a81d96e8ffe74974bd4b3ebc608f1f6a25d (patch) | |
| tree | e5002568d3833783c91ce6b05c5778935911aa08 /scripts/qapi-commands.py | |
| parent | 9284f31994919c001b54af57fc7d1bbb0d19b6fd (diff) | |
| download | focaccia-qemu-fe2d1a81d96e8ffe74974bd4b3ebc608f1f6a25d.tar.gz focaccia-qemu-fe2d1a81d96e8ffe74974bd4b3ebc608f1f6a25d.zip | |
vhost-scsi: Clarify vhost_virtqueue_mask argument
vhost_virtqueue_mask takes an "absolute" virtqueue index, while the code looks like it's passing an index that is relative to s->dev.vq_index. In reality, s->dev.vq_index is always zero, so this patch does not make any difference, but the code is clearer. Signed-off-by: Lu Lina <lina.lulina@huawei.com> Signed-off-by: Gonglei <arei.gonglei@huawei.com> Message-Id: <1437978359-17960-1-git-send-email-arei.gonglei@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions