Repository navigation
[AI Generated] Hyper-V: add safe NVMe discovery and recovery tooling - #4759
Ajay R (AjayMsft9) wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Copilot encountered an error: Your billing is not configured or you have Copilot licenses from multiple standalone organizations or enterprises. To use premium requests, select a billing entity via the GitHub site, under Settings > Copilot > Features.
There was a problem hiding this comment.
Copilot encountered an error: Your billing is not configured or you have Copilot licenses from multiple standalone organizations or enterprises. To use premium requests, select a billing entity via the GitHub site, under Settings > Copilot > Features.
| @@ -0,0 +1,583 @@ | |||
| # Copyright (c) Microsoft Corporation. | |||
| @@ -0,0 +1,592 @@ | |||
| # Copyright (c) Microsoft Corporation. | |||
There was a problem hiding this comment.
why need this file? where it is used? We don't want to use ps file directly, instead, we'd like to use python + wrap ps commands
Description
Adds a reusable Hyper-V NVMe discovery and recovery utility for storage passthrough workflows.
The utility:
CC_010802.Partition inventory uses the Windows Storage CIM provider directly. Zero
MSFT_Partitionrows are treated as a valid raw-disk state, while actual inventory query failures remain fatal.This allows Hyper-V storage passthrough workflows to recover safely after successful, failed, or interrupted test execution without relying on a hardcoded PCI location path.
Related Issue
Type of Change
Checklist
Test Validation
Key Test Cases:
verify_storage_passthrough_nvme_visible|perf_storage_passthrough_fio_randread|perf_storage_passthrough_fio_randwrite
Impacted LISA Features:
Nvme
Tested Azure Marketplace Images:
Test Results