c715130a64
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 >
2019-06-16 16:16:52 -04:00
f55411cf14
vhost-user: improve error report
...
g_printerr() needs a trailing \n
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Message-Id: <20190605145829.7674-4-marcandre.lureau@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2019-06-16 16:16:52 -04:00
24af03b946
vhost-user: check unix_listen() return value
...
This check shouldn't be necessary, since &error_fatal is given as
argument and will exit() on failure. However, this change should
silence coverity CID 1401761 & 1401705.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Message-Id: <20190605145829.7674-3-marcandre.lureau@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2019-06-16 16:16:52 -04:00
1e40d19877
vhost-user-gpu: do not send scanout update if no GPU socket
...
Should fix coverity CID 1401760.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Message-Id: <20190605145829.7674-2-marcandre.lureau@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2019-06-16 16:16:52 -04:00
d52c454aad
contrib: add vhost-user-gpu
...
Add a vhost-user gpu backend, based on virtio-gpu/3d device. It is
associated with a vhost-user-gpu device.
Various TODO and nice to have items:
- multi-head support
- crash & resume handling
- accelerated rendering/display that avoids the waiting round trips
- edid support
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Message-id: 20190524130946.31736-6-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com >
2019-05-29 06:30:45 +02:00