[libvirt] [PATCH RFC 23/40] qemu: checkpoint: Split out checkpoint creation code