summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/tests/integration/loopback_test.go
diff options
context:
space:
mode:
authorDaniel Dao <dqminh89@gmail.com>2021-03-26 11:15:23 +0000
committerDaniel Dao <dqminh89@gmail.com>2021-04-21 14:31:39 +0100
commit58843520b5eb64924d295ca2e03eeaecbf8d65a1 (patch)
tree61d260926d83b4d8d41bc3749faedc1733f7a204 /pkg/tcpip/tests/integration/loopback_test.go
parentfbec65fc3f21773cbec3db4aadf27b85e8859448 (diff)
Fallback to legacy system time logic when host does not have TSC_CONTROL
If the host doesn't have TSC scaling feature, then scaling down TSC to the lowest value will fail, and we will fall back to legacy logic anyway, but we leave an ugly log message in host's kernel log. kernel: user requested TSC rate below hardware speed Instead, check for KVM_CAP_TSC_CONTROL when initializing KVM, and fall back to legacy logic early if host's cpu doesn't support that. Signed-off-by: Daniel Dao <dqminh89@gmail.com>
Diffstat (limited to 'pkg/tcpip/tests/integration/loopback_test.go')
0 files changed, 0 insertions, 0 deletions