]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: validate: Allow 'preserve' action for on_crash lifecycle action
authorPeter Krempa <pkrempa@redhat.com>
Wed, 15 Sep 2021 11:11:40 +0000 (13:11 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 15 Sep 2021 12:40:51 +0000 (14:40 +0200)
commit3a90cb03ee60d43bf5e46b01d74f83c5b2ff1db2
treeed0f4e9153a989d1e3604da13ae8f301f0b84f22
parentcd09fd71d9d416bd2cd0db3305354c9b7c782a1e
qemu: validate: Allow 'preserve' action for on_crash lifecycle action

In fact keeping the VM around for debugging is a desirable configuration
and actually the implementation has no code as we keep the VM around.

Remove the validation and add a note that it's actually used.

Fixes: b1b85a475fb251b9068b75f629479f5c452f1b43
Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
src/qemu/qemu_driver.c
src/qemu/qemu_validate.c