[libvirt] [PATCH] Ensure logfile isn't truncated by shutdown message.