Again this is a quick note to explain myself how to set a kvm (domain/vm) autostart when the server boots up.
To list autostart domains:
virsh list --autostart
To set a domian, e.g. dhcp1
, to autostart:
virsh autostart dhcp1
To disable autostart for a domain (e.g. named dhcp1
):
virsh autostart dhcp1 --disable
Ref: