Skip to content

Conversation

@ambarve
Copy link
Contributor

@ambarve ambarve commented Oct 16, 2025

SetVirtualDiskInformation API is required for running confidential windows containers. The VHDs used for starting confidential pods/UVMs need to have a specific disk identifier. These newly added APIs will be used when preparing the VHDs for confidential pods.

However, some of the standard library methods used here need Go 1.23, so the first commit updates the repo to use Go 1.23 (while fixing linter errors) and then the second commit adds the required VHD APIs.

@ambarve ambarve requested a review from a team as a code owner October 16, 2025 17:11
@ambarve ambarve force-pushed the get_set_vhd_id branch 7 times, most recently from bc1a442 to 76e6a04 Compare October 21, 2025 15:29
Some new upcoming changes require us to use Go 1.23. However, if we switch to Go 1.23 some
new linter errors are showing up. This commit fixes most of the errors and adds an
exclusion for integer overflow errors.

Signed-off-by: Amit <ambarve@microsoft.com>
Copy link
Contributor

@helsaawy helsaawy left a comment

Choose a reason for hiding this comment

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

VHD issue in comment, but LGTM otherwise

SetVirtualDiskInformation API is required for running confidential windows containers. The
VHDs used for starting confidential pods/UVMs need to have a specific disk
identifier. These newly added APIs will be used when preparing the VHDs for confidential
pods.

Signed-off-by: Amit <ambarve@microsoft.com>
@ambarve ambarve merged commit ad3df93 into main Oct 27, 2025
15 of 17 checks passed
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.

5 participants