Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement TSC scaling for platforms that support it #27

Open
StrikerX3 opened this issue Dec 3, 2019 · 0 comments
Open

Implement TSC scaling for platforms that support it #27

StrikerX3 opened this issue Dec 3, 2019 · 0 comments

Comments

@StrikerX3
Copy link
Owner

StrikerX3 commented Dec 3, 2019

Currently, both WHPX and KVM support guest TSC scaling, but virt86 doesn't apply them.

WHPX: set the ProcessorClockFrequency field in the WHV_PARTITION_PROPERTY structure while setting up the partition. TSC scaling is supported since Insider Preview 19H2 (check exact version number).

KVM: check for KVM_CAP_TSC_CONTROL capability. Use KVM_SET_TSC_KHZ to apply the desired TSC frequency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant