Skip to content

Add VMM/MSHV version info in azure and baremetal platform #3876

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

Merged
merged 7 commits into from
Jun 26, 2025

Conversation

vyadavmsft
Copy link
Collaborator

Add VMM/MSHV version info in azure and baremetal platform

@vyadavmsft vyadavmsft force-pushed the vyadav_new_version branch from 888694d to 311f4c1 Compare June 19, 2025 21:22
@vyadavmsft vyadavmsft force-pushed the vyadav_new_version branch from ac99653 to ef0e3e6 Compare June 19, 2025 22:09
@vyadavmsft vyadavmsft force-pushed the vyadav_new_version branch from 9241fd4 to 6ce9f5c Compare June 20, 2025 04:20
@vyadavmsft vyadavmsft force-pushed the vyadav_new_version branch from 6ce9f5c to 7fd4094 Compare June 20, 2025 04:27
@vyadavmsft vyadavmsft requested a review from squirrelsc June 20, 2025 04:36
@squirrelsc squirrelsc requested a review from Copilot June 20, 2025 15:05
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds functionality to detect and report VMM (cloud-hypervisor) and MSHV versions in both Azure and bare-metal platforms.

  • Introduces get_vmm_version and get_mshv_version helpers in platform_utils.py
  • Hooks VMM/MSHV version collection into BareMetalPlatform environment info
  • Hooks VMM/MSHV version collection into AzurePlatform environment info

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
lisa/sut_orchestrator/platform_utils.py Added regex patterns and functions to parse VMM/MSHV versions
lisa/sut_orchestrator/baremetal/platform_.py Registered new environment info hooks for VMM/MSHV
lisa/sut_orchestrator/azure/platform_.py Registered new environment info hooks and methods for VMM/MSHV

@vyadavmsft
Copy link
Collaborator Author

@squirrelsc pls check.

@squirrelsc
Copy link
Member

@vyadavmsft please fix check errors.
@LiliDeng LGTM

@LiliDeng LiliDeng merged commit 790bada into main Jun 26, 2025
53 checks passed
@LiliDeng LiliDeng deleted the vyadav_new_version branch June 26, 2025 01:50
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.

3 participants