snapshot: implement new APIs for qemu
snapshot: implement new APIs for qemu

The two APIs are rather trivial; based on bits and pieces of other
existing APIs.  It leaves the door open for future extension to
qemu to report snapshots without metadata based on reading qcow2
internal snapshot names.

* src/qemu/qemu_driver.c (qemuDomainSnapshotIsCurrent)
(qemuDomainSnapshotHasMetadata): New functions.

cbosdo/libvirt,elmarco/libvirt,wiedi/libvirt,jardasgit/libvirt,shugaoye/libvirt,libvirt/libvirt,taget/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,rmarwaha/libvirt1,cbosdo/libvirt,andreabolognani/libvirt,emaste/libvirt,zippy2/libvirt,jardasgit/libvirt,jfehlig/libvirt,nertpinx/libvirt,emaste/libvirt,datto/libvirt,agx/libvirt,iam-TJ/libvirt,bjzhang/libvirt,libvirt/libvirt,shugaoye/libvirt,crobinso/libvirt,datto/libvirt,zippy2/libvirt,VenkatDatta/libvirt,rlaager/libvirt,trainstack/libvirt,siboulet/libvirt-openvz,wiedi/libvirt,agx/libvirt,emaste/libvirt,wiedi/libvirt,taget/libvirt,andreabolognani/libvirt,rlaager/libvirt,elmarco/libvirt,emaste/libvirt,jeckersb/libvirt,fabianfreyer/libvirt,rlaager/libvirt,jfehlig/libvirt,novel/fbsd-libvirt,jeckersb/libvirt,warewolf/libvirt,shugaoye/libvirt,novel/fbsd-libvirt,andreabolognani/libvirt,eskultety/libvirt,warewolf/libvirt,rmarwaha/libvirt1,iam-TJ/libvirt,novel/fbsd-libvirt,dumbbell/libvirt,datto/libvirt,nertpinx/libvirt,olafhering/libvirt,iam-TJ/libvirt,VenkatDatta/libvirt,iam-TJ/libvirt,rmarwaha/libvirt,siboulet/libvirt-openvz,crobinso/libvirt,eskultety/libvirt,andreabolognani/libvirt,warewolf/libvirt,olafhering/libvirt,olafhering/libvirt,datto/libvirt,rmarwaha/libvirt1,taget/libvirt,trainstack/libvirt,rmarwaha/libvirt,bjzhang/libvirt,elmarco/libvirt,jeckersb/libvirt,dumbbell/libvirt,libvirt/libvirt,warewolf/libvirt,fabianfreyer/libvirt,rmarwaha/libvirt,iam-TJ/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,zhlcindy/libvirt-1.1.4-maintain,wiedi/libvirt,rmarwaha/libvirt,rlaager/libvirt,iam-TJ/libvirt,jeckersb/libvirt,nertpinx/libvirt,nertpinx/libvirt,zhlcindy/libvirt-1.1.4-maintain,dumbbell/libvirt,elmarco/libvirt,taget/libvirt,novel/fbsd-libvirt,jardasgit/libvirt,eskultety/libvirt,zhlcindy/libvirt-1.1.4-maintain,rmarwaha/libvirt,jfehlig/libvirt,siboulet/libvirt-openvz,rlaager/libvirt,wiedi/libvirt,iam-TJ/libvirt,VenkatDatta/libvirt,bjzhang/libvirt,novel/fbsd-libvirt,taget/libvirt,zippy2/libvirt,agx/libvirt,warewolf/libvirt,cbosdo/libvirt,crobinso/libvirt,warewolf/libvirt,trainstack/libvirt,elmarco/libvirt,bjzhang/libvirt,cbosdo/libvirt,emaste/libvirt,trainstack/libvirt,datto/libvirt,warewolf/libvirt,zhlcindy/libvirt-1.1.4-maintain,libvirt/libvirt,zippy2/libvirt,novel/fbsd-libvirt,jeckersb/libvirt,crobinso/libvirt,trainstack/libvirt,rmarwaha/libvirt,siboulet/libvirt-openvz,eskultety/libvirt,novel/fbsd-libvirt,trainstack/libvirt,jeckersb/libvirt,andreabolognani/libvirt,VenkatDatta/libvirt,shugaoye/libvirt,dumbbell/libvirt,agx/libvirt,novel/fbsd-libvirt,siboulet/libvirt-openvz,emaste/libvirt,emaste/libvirt,dumbbell/libvirt,dumbbell/libvirt,VenkatDatta/libvirt,wiedi/libvirt,jfehlig/libvirt,olafhering/libvirt,shugaoye/libvirt,agx/libvirt,wiedi/libvirt,jeckersb/libvirt,bjzhang/libvirt,eskultety/libvirt,rmarwaha/libvirt1,jardasgit/libvirt,rmarwaha/libvirt1,rmarwaha/libvirt1,zhlcindy/libvirt-1.1.4-maintain,trainstack/libvirt,nertpinx/libvirt,novel/fbsd-libvirt,cbosdo/libvirt