tmp_suning_uos_patched/tools/kvm/kvm_stat
Stefan Raspl e4a0956574 tools/kvm_stat: Add restart delay
[ Upstream commit 75f94ecbd0dfd2ac4e671f165f5ae864b7301422 ]

If this service is enabled and the system rebooted, Systemd's initial
attempt to start this unit file may fail in case the kvm module is not
loaded. Since we did not specify a delay for the retries, Systemd
restarts with a minimum delay a number of times before giving up and
disabling the service. Which means a subsequent kvm module load will
have kvm running without monitoring.
Adding a delay to fix this.

Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
Message-Id: <20210325122949.1433271-1-raspl@linux.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-04-16 11:43:20 +02:00
..
kvm_stat tools/kvm_stat: Exempt time-based counters 2020-12-11 19:18:51 -05:00
kvm_stat.service tools/kvm_stat: Add restart delay 2021-04-16 11:43:20 +02:00
kvm_stat.txt tools/kvm_stat: Add command line switch '-L' to log to file 2020-04-21 09:13:12 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00