'virsh snapshot-list <GUEST>' terminates with a segfault on app-emulation/libvirt-0.9.13-r1 The bug is already fixed upstream, see https://www.redhat.com/archives/libvirt-users/2012-July/msg00048.html I've successfully applied the two patches mentioned in the above post and after re-installing libvirt the snapshot-list command works again.
Created attachment 321948 [details, diff] Patch against libvirt-0.9.13-r1.ebuild for applying the two patches via epatch
Created attachment 321950 [details, diff] Fill remote parameters in remoteDomainListAllSnapshots() This patch fills the domain argument that is sent to the remote side. This caused a client segfault as the argument was NULL.
Created attachment 321952 [details, diff] virsh: Fix ordering of arguments when calling vshCalloc. In vshSnapshotListCollect() vshCalloc was called with swapped nmemb and size argument. This caused division by zero in xalloc_oversized as the macro doesn't expect size to be zero.
New version is stable where this is fixed.