Skip to content

petri: Copy the igvm file before creating the VM - #4189

Closed
Steven Malis (smalis-msft) wants to merge 2 commits into
microsoft:mainfrom
smalis-msft:petri-copy-first
Closed

petri: Copy the igvm file before creating the VM#4189
Steven Malis (smalis-msft) wants to merge 2 commits into
microsoft:mainfrom
smalis-msft:petri-copy-first

Conversation

@smalis-msft

Copy link
Copy Markdown
Contributor

Copilot is hypothesizing that there may be some sort of race condition here. I don't think this hurts to do, and maybe it'll help?

@smalis-msft
Steven Malis (smalis-msft) requested a review from a team as a code owner August 7, 2026 18:51
Copilot AI lite review requested due to automatic review settings August 7, 2026 18:51
@smalis-msft Steven Malis (smalis-msft) added the backport_1.8.2607 Change should be backported to the release/1.8.2607 branch label Aug 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 adjusts the Hyper-V Petri backend’s OpenHCL (IGVM) handling to copy the IGVM firmware file into a local/temp path earlier, aiming to avoid accessibility/race issues (e.g., when the source firmware is on a WSL filesystem) during VM creation.

Changes:

  • Reordered IGVM copy logic to occur before creating the Hyper-V VM.
  • Added/updated comments explaining why the copy needs to occur before VM creation.

Comment thread petri/src/vm/hyperv/mod.rs
Copilot AI review requested due to automatic review settings August 7, 2026 19:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@smalis-msft
Steven Malis (smalis-msft) enabled auto-merge (squash) August 7, 2026 19:27
auto-merge was automatically disabled August 10, 2026 14:25

Pull request was closed

@smalis-msft
Steven Malis (smalis-msft) deleted the petri-copy-first branch August 10, 2026 14:25
@smalis-msft Steven Malis (smalis-msft) removed the backport_1.8.2607 Change should be backported to the release/1.8.2607 branch label Aug 10, 2026
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