[PATCH 03/11] qemu: move snapshot related funcs from domain.c to snapshot.c