qemu-e2k/contrib/libvhost-user
Xie Yongji d9b3ade54e libvhost-user: Zero memory allocated for VuVirtqInflightDesc
Use a zero-initialized VuVirtqInflightDesc struct to avoid
that scan-build reports that vq->resubmit_list[0].counter may
be garbage value in vu_check_queue_inflights().

Fixes: 5f9ff1eff ("libvhost-user: Support tracking inflight I/O in
shared memory")
Reported-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Xie Yongji <xieyongji@baidu.com>
Message-Id: <20191119075759.4334-1-xieyongji@baidu.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2019-11-20 04:57:22 -05:00
..
libvhost-user-glib.c libvhost-user: support many virtqueues 2019-07-04 17:00:32 -04:00
libvhost-user-glib.h libvhost-user: support many virtqueues 2019-07-04 17:00:32 -04:00
libvhost-user.c libvhost-user: Zero memory allocated for VuVirtqInflightDesc 2019-11-20 04:57:22 -05:00
libvhost-user.h libvhost-user: support many virtqueues 2019-07-04 17:00:32 -04:00
Makefile.objs libvhost-user: add glib source helper 2017-10-10 23:31:09 +02:00