qxl: interface_get_command: fix reported mode
commit5b77870ce0edde6cf6dd242fa892e28f5c87b4fd
authorAlon Levy <alevy@redhat.com>
Fri, 24 Jun 2011 13:02:47 +0000 (24 15:02 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 4 Jul 2011 13:35:12 +0000 (4 15:35 +0200)
treebddded589a70961dbb939b9661a4031d7edd11e9
parent22795174a37e02200944c0d093d518e832650686
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