qxl: interface_get_command: fix reported mode
authorAlon Levy <alevy@redhat.com>
Fri, 24 Jun 2011 13:02:47 +0000 (15:02 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 4 Jul 2011 13:35:12 +0000 (15:35 +0200)
commitb3663fabb577b736bc100bef6c21f9b846a293cd
treebddded589a70961dbb939b9661a4031d7edd11e9
parent97758ddad3038c54342e4fd2a312300e5ac4de87
qxl: interface_get_command: fix reported mode

report correct mode when in undefined mode.
introduces qxl_mode_to_string(), and uses it in other places too.

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