summaryrefslogtreecommitdiff
path: root/hw/pci
diff options
context:
space:
mode:
authorPrasad J Pandit <pjp@fedoraproject.org>2017-11-29 23:14:28 +0530
committerMichael S. Tsirkin <mst@redhat.com>2017-12-05 19:13:45 +0200
commit4426f06102d31c4062957034edeb417f34c67885 (patch)
tree45e4ad113b6e2faacc3ef4407bc9a0486215be2f /hw/pci
parent939dd2d350b966016f2a1fa126242c094e71cd82 (diff)
downloadqemu-4426f06102d31c4062957034edeb417f34c67885.tar.gz
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')
0 files changed, 0 insertions, 0 deletions