]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commit
qxl: add vgamem_size_mb and vgamem_size
authorAlon Levy <alevy@redhat.com>
Sun, 10 Jun 2012 15:05:06 +0000 (18:05 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 22 Jun 2012 08:49:45 +0000 (10:49 +0200)
commit13d1fd44c46629aad672f192abbf02238c6cbf36
treefac6154a7602eb4ee39063ea693a3d55fc34504a
parent4a1e244eb65c646bdd938d9d137ace42d76c95a7
qxl: add vgamem_size_mb and vgamem_size

In preperation for supporting a larger framebuffer for multiple monitors
on a single card, add a property to qxl vgamem_size_mb, and corresponding
byte sized vgamem_size, and use instead of VGA_RAM_SIZE.

[ kraxel: simplify property handling, add sanity checks ]
[ kraxel: fix mode copying ]

Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/qxl.c
hw/qxl.h