[libvirt] Expose virDomainGetAutostart through virsh?

Ruben Kerkhof ruben at rubenkerkhof.com
Wed Nov 7 12:06:37 UTC 2012


Hi Peter,

On Wed, Nov 7, 2012 at 11:32 AM, Peter Krempa <pkrempa at redhat.com> wrote:
> 2) use virsh list --all --autostart to list guests that have the autostart
> flag enabled (also note that there are script-friendly outputs for virsh
> list --name and --uuid):
>
> $ virsh list --all --autostart
>  Id    Name                           State
> ----------------------------------------------------
>  1     tr                             running
>  -     Bare                           shut off
>

Ah, that's nice. I looked for something for that but libvirt on rhel6
doesn't have this yet.

> We're planing on adding the autostart flag as an XML element and a few other
> improvements of autostaring guests.

Great, thanks!

Ruben




More information about the libvir-list mailing list