Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Enable getting CPUID features for guest VCPUs #383

Merged
merged 4 commits into from
May 24, 2021
Merged

Enable getting CPUID features for guest VCPUs #383

merged 4 commits into from
May 24, 2021

Conversation

wcwang
Copy link
Contributor

@wcwang wcwang commented May 24, 2021

Add a new IOCTL HAX_VCPU_IOCTL_GET_CPUID to enable getting CPUID features for guest VCPUs. The implementation refers to Intel SDM Vol. 2A 3.2 CPUID.

  • Implements corresponding interfaces in CPUID module
  • Enables Windows, macOS and Linux platforms support
  • Adds API documentation for HAX_VCPU_IOCTL_GET_CPUID

Add a new IOCTL HAX_VCPU_IOCTL_GET_CPUID to enable retrieving CPUID
features for guest vCPUs. The implementation refers to Intel SDM Vol.
2A 3.2 CPUID. This version completes Windows platform support.

Signed-off-by: Wenchao Wang <[email protected]>
Enables retrieving CPUID features for guest vCPUs in macOS platform.

Signed-off-by: Wenchao Wang <[email protected]>
Enables retrieving CPUID features for guest vCPUs in Linux platform.

Signed-off-by: Wenchao Wang <[email protected]>
This section of the API document describes the invocation approaches of
the IOCTL HAX_VCPU_IOCTL_GET_CPUID and the results returned on
different occasions.

The HAX_VCPU_IOCTL_GET_CPUID specification includes following aspects:

* IOCTL definition and description
* Parameters
* Error codes
* Interface availability

Signed-off-by: Wenchao Wang <[email protected]>
@wcwang wcwang requested review from coxuintel and hyuan3 May 24, 2021 07:59
@wcwang wcwang merged commit b178462 into master May 24, 2021
@wcwang wcwang deleted the get-cpuid branch May 24, 2021 08:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant