I am running KVM as virtualization engine.
Is there a way to make QEMU/libvirt run a script on the host when a guest is shutdown from within (shutdown -h now)?
I want to be able to run some custom clean-up tasks when a guest is stopped.
kvm-virtualizationlibvirtlinuxqemu
I am running KVM as virtualization engine.
Is there a way to make QEMU/libvirt run a script on the host when a guest is shutdown from within (shutdown -h now)?
I want to be able to run some custom clean-up tasks when a guest is stopped.
Best Answer
libvirt provides the possibility to use hooks for specific system management: