]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Reject 'preserve' action for 'on_reboot'/'on_poweroff'/'on_crash'
authorPeter Krempa <pkrempa@redhat.com>
Mon, 23 Aug 2021 14:49:11 +0000 (16:49 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 25 Aug 2021 13:32:44 +0000 (15:32 +0200)
commitb1b85a475fb251b9068b75f629479f5c452f1b43
treea716d30c9961e8892eef26fad90d8c7e807dd0a5
parent507e6088353ed472998f1c6b9ae0713c4f2fa6a0
qemu: Reject 'preserve' action for 'on_reboot'/'on_poweroff'/'on_crash'

The qemu driver didn't ever implement any meaningful handling for the
'preserve' action.

Forbid the flag in the qemu def validator and update the documentation
to be factual.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/formatdomain.rst
src/qemu/qemu_validate.c