Description of problem: Since upgrading to libvirt-1.3.0 snapshot-create fails with: error: Failed to open file '(null)': Bad address Version-Release number of selected component (if applicable): virsh # version Compiled against library: libvirt 1.0.3 Using library: libvirt 1.0.3 Using API: QEMU 1.0.3 Running hypervisor: QEMU 1.2.2 virsh # How reproducible: Always. best regards t.
snapshot-create is really meant to be used with the XML file. snapshot-create-as is a better option to do the expected stuff. Anyhow, this is a regression and it's fixed by http://www.redhat.com/archives/libvir-list/2013-March/msg00444.html
Fixed upstream by: commit 2fc5ff11ab796a8ad60e0432373c93d0794fbfc6 Author: Ján Tomko <jtomko> AuthorDate: 2013-03-11 13:22:21 +0100 Commit: Ján Tomko <jtomko> CommitDate: 2013-03-11 13:39:11 +0100 virsh: fix snapshot-create with no xmlfile This will be a part of 1.0.4 release.
Okay thank you. This change came a little bit surprising. best regards t.