[libvirt-users] Detecting that the VM is snapshoting

While taking or reverting a snapshot, using virsh --connect qemu:///system dominfo, the state of a VM is paused. Is there a way to distinguish this state (snapshotting) with virsh or any other tools? Joaquín

On 04/10/2015 08:11 AM, Joaquín Rinaudo wrote:
While taking or reverting a snapshot, using virsh --connect qemu:///system dominfo, the state of a VM is paused. Is there a way to distinguish this state (snapshotting) with virsh or any other tools?
virsh domstate --reason $dom -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

Thanks for the quick response! =) Joaquín 2015-04-10 12:44 GMT-03:00 Eric Blake <eblake@redhat.com>:
On 04/10/2015 08:11 AM, Joaquín Rinaudo wrote:
While taking or reverting a snapshot, using virsh --connect qemu:///system dominfo, the state of a VM is paused. Is there a way to distinguish this state (snapshotting) with virsh or any other tools?
virsh domstate --reason $dom
-- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (2)
-
Eric Blake
-
Joaquín Rinaudo