[libvirt] [PATCH] Fix potential crash when saving guests