]> git.proxmox.com Git - mirror_qemu.git/commit
qxl: remove assert in qxl_pre_save.
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 21 Jul 2021 09:33:46 +0000 (11:33 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 22 Jul 2021 13:46:47 +0000 (15:46 +0200)
commit39b8a183e2f399d19f3ab6a3db44c7c74774dabd
treedf7c7abbe82a0a8d64ce5febf06296726a7a77d7
parentdc2deaba4852e3324a4558a8bd29c58ce3299699
qxl: remove assert in qxl_pre_save.

Since commit 551dbd0846d2 ("migration: check pre_save return in
vmstate_save_state") the pre_save hook can fail.  So lets finally
use that to drop the guest-triggerable assert in qxl_pre_save().

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210721093347.338536-2-kraxel@redhat.com>
hw/display/qxl.c