On Thu, 09 Sep 2021 19:28:04 +0100
Daniel P. Berrangé wrote:
On Thu, Sep 09, 2021 at 02:33:25PM +0200, Štěpán Němec wrote:
> libvirt.libvirtError: operation failed: Failed to take snapshot: pre-save failed:
qxl
> Error: Error while writing VM state: Unknown error -1
>
> I am on Arch Linux (x86_64), using the distro packages. Checking my
> pacman logs, might update of qemu-headless from 6.0.0 to 6.1.0 have
> something to do with that?
Yes, auite likely related to the QEMU update as
"pre-save failed: qxl"
is an error message that libvirt is getting back from QEMU.
Thanks!
There was a change in this code in qemu in 6.1.0, but that was
replacing an assert() with this graceful error message. So if
anything your older QEMU ought to have been crashing !
Not only were/is it not crashing; downgrading the package back to 6.0.0
makes the snapshots work again.
Anyway, I think you need to report this to the QEMU community.
Filed as
https://gitlab.com/qemu-project/qemu/-/issues/610
Thank you,
Štěpán