• J
    storage: Handle readflags errors · 1bc84b0a
    John Ferlan 提交于
    Similar to the openflags VIR_STORAGE_VOL_OPEN_NOERROR processing, if some
    read processing operation fails, check the readflags for the corresponding
    error flag being set. If so, rather then causing an error - use VIR_WARN
    to flag the error, but return -2 which some callers can use to perform
    specific actions. Use a new VIR_STORAGE_VOL_READ_NOERROR flag in a new
    VolReadErrorMode enum.
    1bc84b0a
storage_backend.c 68.6 KB