qxl: use graphic_console_set_hwops
commit151623353f4a3da4daec29d658c10ef3b57bd462
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 24 Sep 2014 15:05:45 +0000 (24 17:05 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 29 Sep 2014 08:20:09 +0000 (29 10:20 +0200)
treec653d4805b8ad6143b156cb9cc5c9c233c530187
parent1c1f94984430f5b9e91b01b75be23385122039f6
qxl: use graphic_console_set_hwops

Simply switch function pointers when entering/leaving vga mode.
Allows to remove wrapper functions which do nothing but dispatch
calls depending on the current qxl mode.

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