Skip to content

[shimV2] [VM controller] refactor + adds Update + Device controllers#2663

Open
rawahars wants to merge 2 commits intomicrosoft:mainfrom
rawahars:vm_controller_changes
Open

[shimV2] [VM controller] refactor + adds Update + Device controllers#2663
rawahars wants to merge 2 commits intomicrosoft:mainfrom
rawahars:vm_controller_changes

Conversation

@rawahars
Copy link
Copy Markdown
Contributor

@rawahars rawahars commented Apr 6, 2026

Summary

In this change, we are adding the following changes-

  • Following the shim V2 standard, we are declaring the interfaces at the place where the APIs are used. Therefore, we are deleting all the interfaces from the existing packages.
  • We are refactoring the vm controller to bring it to the same standard as rest of the controllers.

Additionally, we are adding-

  • Update functionality with LCOW and WCOW specific implementation
  • RuntimeID API to return the HCS compute ID
  • APIs to obtain device controllers
    • SCSI controller which is initialized eagerly on VM create
    • VPCI controller which is lazy initialized
    • Plan9 controller which is lazy initialized specifically for lcow builds

rawahars added 2 commits April 6, 2026 11:36
Following the shim V2 standard, we are declaring the interfaces at the place where the APIs are used. Therefore, we are deleting all the interfaces from the existing packages.

Signed-off-by: Harsh Rawat <harshrawat@microsoft.com>
In this commit, we are refactoring the vm controller to bring it to the same standard as rest of the controllers.

Additionally, we are adding-
- Update functionality
- RuntimeID API
- APIs to obtain device controllers

Signed-off-by: Harsh Rawat <harshrawat@microsoft.com>
@rawahars rawahars requested a review from a team as a code owner April 6, 2026 11:23
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.

1 participant