]> git.proxmox.com Git - qemu-server.git/commit
refactor vm_stop locked code
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 11 Sep 2019 12:07:44 +0000 (14:07 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 11 Sep 2019 12:13:35 +0000 (14:13 +0200)
commit575d19dab5fca8757dc3621a3621c04f4d2ffc77
tree7bcb87913d73cc2562150b425e47798fae1ec229
parent64457ed4aa1d141c97dae2d329c86db4bb0b0427
refactor vm_stop locked code

we want to reuse most of the code in the locked context of vm_stop
for vm_reboot (since it really is just a vm_stop with a
create_reboot_request in there) so we factor that out into
_do_vm_stop
and note that it has to be called in a locked context

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/QemuServer.pm