summaryrefslogtreecommitdiffstats
path: root/include/ui/console.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-07 16:37:26 +1000
committerGerd Hoffmann <kraxel@redhat.com>2015-01-19 13:33:26 +0100
commitaca7aaf6287b6a9f688c1b115a76fdc056565a7e (patch)
tree2049d099ca6a80d0472188f088e0300e2fe90cb9 /include/ui/console.h
parent1e42c353469cb58ca4f3b450eea4211af7d0b147 (diff)
downloadhqemu-aca7aaf6287b6a9f688c1b115a76fdc056565a7e.zip
hqemu-aca7aaf6287b6a9f688c1b115a76fdc056565a7e.tar.gz
ui: Make qemu_default_pixman_format() return 0 on unsupported formats
In order to remove the logic for detecting supported shared pixmap formats from device models, make qemu_default_pixman_format() capable for failing by returning 0 which is not a possible format value rather than asserting. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/ui/console.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud