]> xenbits.xensource.com Git - libvirt.git/commit
qemu: driver: Remove impossible code path in qemuDomainSnapshotCreateInactiveExternal
authorPeter Krempa <pkrempa@redhat.com>
Mon, 4 Jun 2018 07:00:37 +0000 (09:00 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 8 Jun 2018 07:26:37 +0000 (09:26 +0200)
commit69d0d15632cd5edb65b39730b35c2fb5b0e50b6c
tree4989a6045555060d2a91330ac13c0f0650311264
parentc95f50cb021ea9a297d77a482b31b9bf5bcf6065
qemu: driver: Remove impossible code path in  qemuDomainSnapshotCreateInactiveExternal

Previous patch naively removed all code relevant to disk format
checking. The semantics now dictate that the format check when creating
external snapshots is now impossible as we always fill in the format for
disks in domain definition in the post-parse callback.

Remove the impossible code path.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c