• J
    Introduce virFileRewrite for safe file rewrite · 559644dd
    Jiri Denemark 提交于
    When saving config files we just overwrite old content of the file. In
    case something fails during that process (e.g. disk gets full) we lose
    both old and new content. This patch makes the process more robust by
    writing the new content into a separate file and only if that succeeds
    the original file is atomically replaced with the new one.
    559644dd
libvirt_private.syms 28.5 KB