virsh-list

List the ID, name, and state of virtual machines.

TLDR

List information about running virtual machines

$ virsh list
copy


List information about virtual machines regardless of state
$ virsh list --all
copy


List information about virtual machines with autostart either enabled or disabled
$ virsh list --all --[autostart|no-autostart]
copy


List information about virtual machines either with or without snapshots
$ virsh list --all --[with-snapshot|without-snapshot]
copy

Copied to clipboard