View list of VM's set for Autostart – KVM – Fedora Host with LibVirt

FreeSoftwareServers asked:

I’m looking for a non gui way (CLI) to find all VM’s that have Autostart configured on my Fedora KVM Host.

My answer:

The obvious thing would be:

# virsh list --autostart --all
 Id    Name                           State
 -     vpn-fr-1                       shut off

You could also:

# ls /etc/libvirt/qemu/autostart

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.