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

The scanout id should not be above the configured num_scanouts.

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