Skip to content

Implement TSC scaling for platforms that support it #27

Description

@StrikerX3

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions