lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 7 Jul 2022 10:44:05 +0800 From: Guo Zhi <qtxuning1999@...u.edu.cn> To: jasowang@...hat.com, mst@...hat.com Cc: eperezma@...hat.com, virtualization@...ts.linux-foundation.org, linux-kernel@...r.kernel.org, sgarzare@...hat.com, Guo Zhi <qtxuning1999@...u.edu.cn> Subject: [PATCH v2 0/4] virtio/virtio_test Original virtio_test only use add one descriptor for each io event, thus code of descriptor chain and indirection have not been tested(one descriptor will not use indirect feature even indirect feature has been specified). In fact it would have not been possible for vhost_test to access to the indirect descriptor table, because it's impossible for virtio_ring.c to allocate it. This series using descriptor chain and enable indirection feature. And through gcov we find the code coverage has been improved(not high for virtio_ring.c because virtio_test only test split virtqueue): +------------+-------------+-------------+ | |virtio_test.c|virtio_ring.c| +------------+-------------+-------------+ | original | 72.32% | 24.71% | +------------+-------------+-------------+ | current | 75% | 28.05% | +------------+-------------+-------------+ Guo Zhi (4): virtio_test: kick vhost for a batch of descriptors virtio_test: move magic number in code as defined constant virtio_test: use random length scatterlists to test descriptor chain virtio_test: enable indirection feature tools/virtio/virtio_test.c | 86 ++++++++++++++++++++++++++++---------- 1 file changed, 64 insertions(+), 22 deletions(-) -- 2.17.1
Powered by blists - more mailing lists