[libvirt] [PATCH] qemu: save domain state to XML after reboot