]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Pass stop reason from qemuProcessStopCPUs to stop handler
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Tue, 9 Oct 2018 13:41:51 +0000 (16:41 +0300)
committerNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Thu, 4 Apr 2019 07:36:03 +0000 (10:36 +0300)
commit93c7d13eec2f8ea84daec709ab4fbac16c9da6a0
treecbdef415b9f3cf86d75fb109f94da1def8a1fcd0
parentb701e45be5e80b4670dadacac70d9fa51599dec8
qemu: Pass stop reason from qemuProcessStopCPUs to stop handler

Similar to commit [1] which saves and passes the running reason to
the RESUME event handler, during qemuProcessStopCPUs let's save and pass
the pause reason in the domain private data so that the STOP event
handler can use it.

[1] 5dab984ed : qemu: Pass running reason to RESUME event handler

Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
src/qemu/qemu_domain.h
src/qemu/qemu_process.c