qxl: don't create too large primary surface
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Thu, 16 Oct 2014 09:39:44 +0000 (11:39 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 22 Oct 2014 01:11:50 +0000 (11:11 +1000)
Limit primary to qemu vgamem size, to avoid reaching
qemu guest bug "requested primary larger than framebuffer"
on resizing screen too large to fit.

Remove unneeded and misleading variables.

Related to:
https://bugzilla.redhat.com/show_bug.cgi?id=1127552

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found