On kernels build without CONFIG_TRACING kvm_stat will bail out even
when traces are not used. This is not very helpful, especially if the
user can't install a new kernel. Instead, we should warn the user and
fall back to debugfs statistics.
These changes check if trace statistics were selected without kernel
support, warn with a small timeout, set the debugfs statistics option
to True and the tracefs one to False.
Fixes:
|
||
|---|---|---|
| .. | ||
| kvm_flightrecorder | ||
| kvm_stat | ||
| kvm_stat.texi | ||
| vmxcap | ||