]> git.ipfire.org Git - thirdparty/libvirt.git/commit
hypervisor: Split out individual steps out of virDomainDriverAutoShutdown
authorPeter Krempa <pkrempa@redhat.com>
Tue, 1 Jul 2025 14:11:12 +0000 (16:11 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 8 Jul 2025 12:51:44 +0000 (14:51 +0200)
commite13e9b46f62d4d9f0aad33983fda39c5f3f7e645
tree8eb74d63d249b46adbdf035f1fcc8967770d2f81
parent82963fdcb67742fad3066d31f2bd9b14c8153574
hypervisor: Split out individual steps out of virDomainDriverAutoShutdown

'virDomainDriverAutoShutdown' grew into an unwieldy function. Extract
the code for each of the save/shutdown/poweroff steps into helpers and
call them.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/hypervisor/domain_driver.c