]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: process: Split out logic for setting the 'allowReboot' internal flag
authorMasayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Mon, 30 Aug 2021 04:30:42 +0000 (00:30 -0400)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 6 Sep 2021 09:13:06 +0000 (11:13 +0200)
commita2e6039ccad308adeaa4b3c4155f2ce5d44e03fa
tree418da273fcbbe9bdffae043783c42c038f088044
parentb6ec01b82154c9dc25f18c9c28df30d0c053defe
qemu: process: Split out logic for setting the 'allowReboot' internal flag

Split out the logic which was used to determine whether qemu should
allow the guest OS to reboot for QEMU versions which don't support the
'set-action' QMP command.

Signed-off-by: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_process.c
src/qemu/qemu_process.h