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

MSR: Add platform id regression check #2959

Merged
merged 1 commit into from
Sep 22, 2023
Merged

MSR: Add platform id regression check #2959

merged 1 commit into from
Sep 22, 2023

Conversation

mcgov
Copy link
Collaborator

@mcgov mcgov commented Sep 19, 2023

In hyper-v, platform info is passed to the host in an MSR register to the hypervisor. This is used to determine what kind of guest is present. For Linux guests, check that the IsOpenSource flag is set in this info according to:
https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/tlfs/hypercall-interface#guest-os-identity-for-proprietary-operating-systems

@mcgov mcgov marked this pull request as ready for review September 19, 2023 20:50
Platform info is passed to the host in an msr register.
This is used to determine what kind of guest is present.
For Linux guests, check that the IsOpenSource flag is set
in this info.
@mcgov mcgov merged commit c9e278f into main Sep 22, 2023
45 checks passed
@mcgov mcgov deleted the mcgov/platform-id branch September 22, 2023 15:28
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

Successfully merging this pull request may close these issues.

2 participants