How to list snapshot with virsh KVM on Linux

Fig.01: How to list snapshot with virsh KVM on Linux

Fig.01: How to list snapshot with virsh KVM on Linux

To list snapshot use any one of the following command:
virsh snapshot-list --domain {vm-name-here}
virsh snapshot-list --domain ubuntu-box1

Sample outputs:

 Name                 Creation Time             State
------------------------------------------------------------
 02192017             2017-02-19 21:50:58 +0530 shutoff

You can pass the following options to this command:

    --parent         add a column showing parent snapshot
    --roots          list only snapshots without parents
    --leaves         list only snapshots without children
    --no-leaves      list only snapshots that are not leaves (with children)
    --metadata       list only snapshots that have metadata that would prevent undefine
    --no-metadata    list only snapshots that have no metadata managed by libvirt
    --inactive       filter by snapshots taken while inactive
    --active         filter by snapshots taken while active (system checkpoints)
    --disk-only      filter by disk-only snapshots
    --internal       filter by internal snapshots
    --external       filter by external snapshots
    --tree           list snapshots in a tree
    --from   limit list to children of given snapshot
    --current        limit list to children of current snapshot
    --descendants    with --from, list all descendants
    --name           list snapshot names only

Examples

virsh snapshot-list --name --domain ubuntu-box2
Sample outputs:

02192017

Examples and usage: How to create snapshot in Linux KVM VM/Domain