Skip to content

KVM: KVM_GET_TSC_KHZ fails #1276

Open
Open
@shrik3

Description

@shrik3

I don't know if it's only me but strace on quark (x86) repeatedly shows:

[pid 490389] ioctl(19, KVM_GET_TSC_KHZ, 0) = 2591999
[pid 490389] read(12, 0x7752b2fe71c8, 8) = -1 EAGAIN (Resource temporarily unavailable)

the vcpu constantly polls KVM_GET_TSC_KHZ, which always fails.

4.56 KVM_GET_TSC_KHZ
Capability: KVM_CAP_GET_TSC_KHZ
Architectures: x86
Type: vcpu ioctl
Parameters: none
Returns: virtual tsc-khz on success, negative value on error
Returns the tsc frequency of the guest. The unit of the return value is
KHz. If the host has unstable tsc this ioctl returns -EIO instead as an
error.

Perhaps we turn off this kvm capability, if we don't use it.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions