Description of problem: <on_reboot>destroy</on_reboot> in the domain XML file does not appear to take effect. Win 10 guest VM with this setting still reboots automatically. Version-Release number of selected component (if applicable): 3.1.2-4 How reproducible: Always Steps to Reproduce: 1. Edit the domain XML configuration file for a Windows 10 guest, setting on_reboot to destroy. 2. Choose "Restart" from the VM. Actual results: Guest shuts down and reboots. Expected results: Guest shuts down, and stops. Additional info: Using <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> and <qemu:commandline> <qemu:arg value='-no-reboot'/> </qemu:commandline> is a temporary workaround.
Patch proposed upstream: https://www.redhat.com/archives/libvir-list/2017-August/msg00116.html
Another attempt: https://www.redhat.com/archives/libvir-list/2017-August/msg00449.html
I've just pushed the patch upstream: commit 3ee9bdbe351c0b80d4c469571ef31df3f1b148ea Author: Michal Privoznik <mprivozn> AuthorDate: Mon Jul 31 16:55:58 2017 +0200 Commit: Michal Privoznik <mprivozn> CommitDate: Tue Aug 29 11:33:38 2017 +0200 qemu: Honour <on_reboot/> https://bugzilla.redhat.com/show_bug.cgi?id=1476866 For some reason, we completely ignore <on_reboot/> setting for domains. The implementation is simply not there. It never was. Signed-off-by: Michal Privoznik <mprivozn> v3.6.0-238-g3ee9bdbe3
libvirt-3.2.1-6.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ff7b30a42d
libvirt-3.2.1-6.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-ff7b30a42d
libvirt-3.2.1-6.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.