virtio-gpu: check max_outputs value
commit5e3d741c6a192b301692a44084f99876f0d6b643
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 19 May 2016 10:25:57 +0000 (19 12:25 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 23 May 2016 11:30:03 +0000 (23 13:30 +0200)
treea9322cb780ff5ce23597f424843423fdb4612152
parentd0f0c8654a1a97cfa7a19208afc6a6d3d0fb4326
virtio-gpu: check max_outputs value

The value must be less than VIRTIO_GPU_MAX_SCANOUT.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 1463653560-26958-4-git-send-email-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/virtio-gpu.c