I can't reproduce this. There is an oddity in the bug description, in that you
use the same name for the domain and the snapshot. When I use 'p1-clone' for
both the domain and snapshot name (as you did), then I need to revert using
I've marked this bug as affecting libvirt. Please do
apport-collect 1036973
to have apport submit some information about your libvirt installation.
I'd highly recommend working around this by using a snapshot name which
is not the same as the domain name. If that doesn't work either, please
reply and let us know.
Thanks for submitting this bug.
I can't reproduce this. There is an oddity in the bug description, in that you
use the same name for the domain and the snapshot. When I use 'p1-clone' for
both the domain and snapshot name (as you did), then I need to revert using
virsh snapshot-revert p1-clone --snapshotname p1-clone
If I simply try
virsh snapshot-revert p1-clone
I get
error: --snapshotname or --current is required
which is not the same error you show. (The .xml I used was
<domainsnapshot> p1-clone< /name>
<name>
<description> p1 clone base snapshot </description>
</domainsnapshot>
and I defined it, for domain p1-clone, using
virsh snapshot-create p1-clone snapshot- p1-clone2. xml
)
I've marked this bug as affecting libvirt. Please do
apport-collect 1036973
to have apport submit some information about your libvirt installation.
I'd highly recommend working around this by using a snapshot name which
is not the same as the domain name. If that doesn't work either, please
reply and let us know.