virFileReadValueUint does not log errors for non-existient files,
it merely returns -2.
Commit
12093f1 introduced this.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
VIR_INFO("The file '" SYSFS_RESCTRL_PATH "/info/L3_MON/num_rmids' "
"does not exist");
ret = 0;
- virResetLastError();
goto cleanup;
} else if (rv < 0) {
/* Other failures are fatal, so just quit */
* will not exist. */
VIR_DEBUG("File '" SYSFS_RESCTRL_PATH
"/info/L3_MON/max_threshold_occupancy' does not exist");
- virResetLastError();
} else if (rv < 0) {
goto cleanup;
}