Ahh, that is excellent. I didn't find that, and the version I'm working
with pre-dates that feature.

If I'm correct in thinking this does not cover the case where
`on_poweroff` is set to restart, which cannot be altered on a running
VM, so the await can never see an inactive state... then a cold reboot
option could still be worthwhile.

Otherwise, I guess one must run something like:

virsh destroy <domain> --graceful && virsh await <domain> --condition 
domain-inactive && virsh start <domain>

Reply via email to