diff options
author | Prasad J Pandit <pjp@fedoraproject.org> | 2017-11-29 23:14:28 +0530 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-12-05 19:13:45 +0200 |
commit | 4426f06102d31c4062957034edeb417f34c67885 (patch) | |
tree | 45e4ad113b6e2faacc3ef4407bc9a0486215be2f /hw/pci-bridge | |
parent | 939dd2d350b966016f2a1fa126242c094e71cd82 (diff) |
tests: add test to check VirtQueue object
An uninitialised VirtQueue object or one with Vring.align field
set to zero(0) could lead to arithmetic exceptions. Add a unit
test to validate it.
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/pci-bridge')
0 files changed, 0 insertions, 0 deletions