Skip to content
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

Guest agent support for partitions on SCSI devices #1747

Merged

Conversation

katiewasnothere
Copy link
Contributor

This PR is based on Kevin's recent PRs to clean up our package, refactor our SCSI package, and refactor how we handle layers. You can find those PRs here:

This PR does the following:

  • Update ControllerLunToName to GetDevicePath and take in partition as an additional param
  • Wait for partition subdirectory to appear for the devices
  • Update device encryption and verity device names with partition index
  • Update device encryption and verity device tests
  • Add new unit tests for GetDevicePath

When Kevin's above PRs are in their final state and merged, this PR will be rebased to contain only the last commit containing the changes I outlined above.

To view the contents of this PR, I recommend viewing only the last commit so that github doesn't freak out.

@katiewasnothere katiewasnothere requested a review from a team as a code owner May 1, 2023 06:23
@katiewasnothere katiewasnothere force-pushed the kabaldau/scsi_partition_guest branch from b21c405 to ff8ec27 Compare May 3, 2023 01:00
Copy link
Member

@kevpar kevpar left a comment

Choose a reason for hiding this comment

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

LGTM

@katiewasnothere katiewasnothere force-pushed the kabaldau/scsi_partition_guest branch from ff8ec27 to 5093a98 Compare May 11, 2023 23:45
@katiewasnothere
Copy link
Contributor Author

Rebased on recent changes to #1744 and #1745

@katiewasnothere katiewasnothere force-pushed the kabaldau/scsi_partition_guest branch from 5093a98 to 6ce96d1 Compare May 15, 2023 20:21
@katiewasnothere
Copy link
Contributor Author

Rebased now that all of Kevin's PRS are in. Waiting for the CI to finish running and then will merge this.

@katiewasnothere katiewasnothere force-pushed the kabaldau/scsi_partition_guest branch from 6ce96d1 to b7bc1ea Compare May 15, 2023 20:32
@kevpar
Copy link
Member

kevpar commented May 15, 2023

Rebased now that all of Kevin's PRS are in. Waiting for the CI to finish running and then will merge this.

There appears to be a linter error.

* Update `ControllerLunToName` to `GetDevicePath` and take in partition
as an additional param
* Wait for partition subdirectory to appear for the devices
* Update device encryption and verity device names with partition index
* Update device encryption and verity device tests
* Add new unit tests for `GetDevicePath`

Signed-off-by: Kathryn Baldauf <kabaldau@microsoft.com>
@katiewasnothere katiewasnothere force-pushed the kabaldau/scsi_partition_guest branch from b7bc1ea to 1a2aca3 Compare May 15, 2023 20:58
@katiewasnothere
Copy link
Contributor Author

Rebased now that all of Kevin's PRS are in. Waiting for the CI to finish running and then will merge this.

There appears to be a linter error.

Yeah it was mad about not using a cancel func in a test. Updated.

@katiewasnothere katiewasnothere merged commit e5af8fb into microsoft:main May 15, 2023
@katiewasnothere katiewasnothere deleted the kabaldau/scsi_partition_guest branch May 15, 2023 21:35
anmaxvl pushed a commit that referenced this pull request Oct 20, 2023
This PR updates our ADO fork to commits in hcsshim up to commit hash [7769a64](7769a64). This includes support for partitioned scsi devices and ensuring filesystem format for lcow scsi devices.

Related work items: #1728, #1740, #1741, #1742, #1743, #1744, #1745, #1747, #1748, #1749, #1750, #1752, #1754, #1756, #1757, #1767, #1769, #1771, #1772, #1773, #1779
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