vhost-user-gpu: initialize msghdr & iov at declaration
commitc715130a6495aeb015813e067f0cfb62f788a6e1
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 5 Jun 2019 14:58:29 +0000 (5 16:58 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 16 Jun 2019 20:16:52 +0000 (16 16:16 -0400)
treef692e5f4867a1669b8eef928c329ab0b0cb416ba
parentbe32fd9ee1d85e682d652d11b6e32e7f700420bb
vhost-user-gpu: initialize msghdr & iov at declaration

This should fix uninitialized fields found by coverity CID 1401762.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190605145829.7674-6-marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
contrib/vhost-user-gpu/main.c