cirrus: add option to disable blitter
commit827bd5172641f2a360ff9a3bad57bcf82e7f03f0
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 14 Mar 2017 12:29:00 +0000 (14 13:29 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 16 Mar 2017 07:58:15 +0000 (16 08:58 +0100)
treefcec479fb38aeeb4b6f13f0528feccd973736965
parent73c148130b58709f0f2abfedbae92681d87eb404
cirrus: add option to disable blitter

Ok, we have this beast in the cirrus code which is not used at all by
modern guests, except when you try to find security holes in qemu.  So,
add an option to disable blitter altogether.  Guests released within
the last ten years should not show any rendering issues if you turn off
blitter support.

There are no known bugs in the cirrus blitter code.  But in the past we
hoped a few times already that we've finally nailed the last issue.  So
having some easy way to mitigate in case yet another blitter issue shows
up certainly makes me sleep a bit better at night.

For completeness:  The by far better way to mitigate is to switch away
from cirrus and use stdvga instead.  Or something more modern like
virtio-vga in case your guest has support for it.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1489494540-15745-1-git-send-email-kraxel@redhat.com
hw/display/cirrus_vga.c