Re: [Qemu-devel] [PATCH] virtio: fix up max size checks

2017-01-18 Thread Michael S. Tsirkin
reproduce > it > locally. > Message-id: 1484768294-23336-1-git-send-email-...@redhat.com > Subject: [Qemu-devel] [PATCH] virtio: fix up max size checks > Type: series > > === TEST SCRIPT BEGIN === > #!/bin/bash > set -e > git submodule update --init dtc > # Let dock

[Qemu-devel] [PATCH] virtio: fix up max size checks

2017-01-18 Thread Michael S. Tsirkin
Coverity reports that ARRAY_SIZE(elem->out_sg) (and all the others too) is wrong because elem->out_sg is a pointer. However, the check is not in the right place and the max_size argument of virtqueue_map_iovec can be removed. The check on in_num/out_num should be moved to qemu_get_virtqueue_eleme

Re: [Qemu-devel] [PATCH] virtio: fix up max size checks

2017-01-18 Thread no-reply
Hi, Your series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally. Message-id: 1484768294-23336-1-git-send-email-...@redhat.com Subject: [Qemu-devel] [PATCH] virtio: fix up max size checks