[libvirt PATCH v2 17/31] qemu_snapshot: move snapshot discard out of qemu_domain.c