de394915df
In the power_set_governor_*() functions, we using fputs() on /sys
filesystem. However, we also need to call fflush() to ensure that
the write completes successfully. Otherwise the attempt to set the
power governor fails and the function returns as if it has
succeeded. This patch adds an fflush to ensure that the
write succeeds, otherwise returns an error.
Fixes:
|
||
---|---|---|
.. | ||
channel_commands.h | ||
guest_channel.c | ||
guest_channel.h | ||
Makefile | ||
meson.build | ||
power_acpi_cpufreq.c | ||
power_acpi_cpufreq.h | ||
power_common.h | ||
power_kvm_vm.c | ||
power_kvm_vm.h | ||
power_pstate_cpufreq.c | ||
power_pstate_cpufreq.h | ||
rte_power_empty_poll.c | ||
rte_power_empty_poll.h | ||
rte_power_version.map | ||
rte_power.c | ||
rte_power.h |