qxl: simplify qxl_rom_size
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 11 Sep 2013 11:08:49 +0000 (13:08 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 18 Sep 2013 09:13:29 +0000 (11:13 +0200)
commit60b3b2a55f4b3fb72419ce7e4b44378dc56eed28
tree6e86c7d6656208fea750e8bdb4124663c4b9e2ae
parent9efc2d8d813b94fde0a2bad6c13850bef7636748
qxl: simplify qxl_rom_size

Nowdays rom size is fixed at 8192 for live migration compat reasons.
So we can ditch the pointless math trying to calculate the size needed.
Also make the size sanity check fail at compile time not runtime.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/qxl.c