[libvirt] [PATCH v2 1/4] qemu: Refactor text monitor snapshot commands