[libvirt] [PATCH 0/4] Make rewriting XML files more robust