Problem: You can not resume a VM

Problem:

When trying to resume a VM you are getting and error about remoteDispatchDomainSnapshotCreateXML

When your try to resume a VM you are getting an error as follows:

error: Failed to resume domain virtualmachine
error: Timed out during operation: cannot acquire state change lock (held by remoteDispatchDomainSnapshotCreateXML)

Solution

There is a snapshot operation in progress which can take up to 20 minutes depending of the amount of memory assigned to the virtual machine.

You have to wait until the snapshot operation completes.
There is a bug report open for this issue.

Mastodon