summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorGerd Hoffmann2020-04-29 13:52:34 +0200
committerGerd Hoffmann2020-05-18 15:43:35 +0200
commit19aaee2a65a26693fe0a30b5a0746f967774e278 (patch)
tree81ac04311310b6792cbbfa1f0b22d538bd4b6cd3 /include/exec
parentramfb: drop leftover debug message (diff)
downloadqemu-19aaee2a65a26693fe0a30b5a0746f967774e278.tar.gz
qemu-19aaee2a65a26693fe0a30b5a0746f967774e278.tar.xz
qemu-19aaee2a65a26693fe0a30b5a0746f967774e278.zip
ramfb: don't update RAMFBState on errors
Store width & height & surface in local variables. Update RAMFBState with the new values only in case the ramfb_create_display_surface() call succeeds. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Message-id: 20200429115236.28709-5-kraxel@redhat.com
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions