diff options
| author | Gerd Hoffmann | 2020-04-29 13:52:34 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2020-05-18 15:43:35 +0200 |
| commit | 19aaee2a65a26693fe0a30b5a0746f967774e278 (patch) | |
| tree | 81ac04311310b6792cbbfa1f0b22d538bd4b6cd3 /include/exec/memory-internal.h | |
| parent | ramfb: drop leftover debug message (diff) | |
| download | qemu-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/memory-internal.h')
0 files changed, 0 insertions, 0 deletions
