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

Fix mountSCSI failure in uvmboot #1841

Closed
wants to merge 1 commit into from
Closed

Fix mountSCSI failure in uvmboot #1841

wants to merge 1 commit into from

Conversation

will-j-wright
Copy link

This pull request fixes an issue with the mount logic inside the mountSCSI function of uvmboot, which is called when attaching SCSI disks to the guest.

Passing an empty MountConfig to AddVirtualDisk causes an error on the add operation inside the guest. As specified in the AddVirtualDisk documentation, nil should be passed instead to signify that no mount operation should be performed.

Currently, the guest mount operation is disallowed in mountSCSI, so it is not necessary to create a MountConfig to pass to AddVirtualDisk in that case.

Signed-off-by: Will Wright <t-willwright@microsoft.com>
@will-j-wright will-j-wright requested a review from a team as a code owner July 13, 2023 23:01
@will-j-wright will-j-wright marked this pull request as draft July 13, 2023 23:04
@will-j-wright
Copy link
Author

Closed as according to #1744 (comment) this is intended behavior

@will-j-wright will-j-wright deleted the t-willwright/uvmboot-scsi-mount branch July 13, 2023 23:38
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