Enable getting CPUID features for guest VCPUs by wcwang · Pull Request #383 · intel/haxm (original) (raw)
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
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 wenchao.wang@intel.com
Enables retrieving CPUID features for guest vCPUs in macOS platform.
Signed-off-by: Wenchao Wang wenchao.wang@intel.com
Enables retrieving CPUID features for guest vCPUs in Linux platform.
Signed-off-by: Wenchao Wang wenchao.wang@intel.com
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 wenchao.wang@intel.com
1 participant