RFE: Individual ON_SHUTDOWN
Dear Qemu Developers.
qemu-kvm-9.1.3-2.fc41.x86_64
Would you please consider the following Request for Enhancement (RFE)?
Currently, if yo want to have you virtual machine shutdown when your reboot/poweroff the host, you need to
# dnf install libvirt-daemon-common-10.6.0-7.fc41.x86_64
Edit /etc/sysconfig/libvirt-guests
ON_SHUTDOWN=shutdown
SHUTDOWN_TIMEOUT=300
Note time out above is second or 5 minutes
# systemctl enable libvirt-guests.service
# systemctl start libvirt-guests.service
Problem: this does work, but it affects all your Virtual Machines (VM’s).
Request for Enhancement:
Please add the ability to configure each VM individually.
Currently the XML code from your VM’s have the following tag: <on_poweroff>destroy</on_poweroff>
Would you please consider expanding this tag to included: <on_poweroff>poweroff</on_poweroff>
And update virt-manager with a category to include the above?
A good name for it would be “On Poweroff” and possible pull down options would be suspend (a real suspend, not a destroy and keep a log file) destroy power off
Many thanks, -T