Re: [Qemu-devel] [PATCH v1 2/2] tests: add test to check VirtQueue object

2017-11-24 Thread Stefan Hajnoczi
On Fri, Nov 24, 2017 at 01:25:42PM +0530, P J P wrote: > From: Prasad J Pandit > > 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 > --- > tests/virtio-blk

[Qemu-devel] [PATCH v1 2/2] tests: add test to check VirtQueue object

2017-11-23 Thread P J P
From: Prasad J Pandit 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 --- tests/virtio-blk-test.c | 21 + 1 file changed, 21 insertions(+) dif