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

CA-384942: path to the VM CD drive has been resolved to real device #684

Merged
merged 1 commit into from
May 7, 2024

Conversation

MarkSymsCtx
Copy link
Contributor

The error handling for empty CD drive assumes a path containing '/dev/xapi/cd/' but the path has been resolved to the actual device before the open operation is attempted. Check for paths of the form '^/dev/sr' as well so that the correct error message is emitted.

KevinLCtx
KevinLCtx previously approved these changes May 2, 2024
rdn32
rdn32 previously approved these changes May 2, 2024
TimSmithCtx
TimSmithCtx previously approved these changes May 2, 2024
drivers/blktap2.py Outdated Show resolved Hide resolved
The error handling for empty CD drive assumes a path containing
'/dev/xapi/cd/' but the path has been resolved to the actual device
before the open operation is attempted. Check for paths of the form
'^/dev/sr' as well so that the correct error message is emitted.

Signed-off-by: Mark Syms <mark.syms@citrix.com>
@MarkSymsCtx MarkSymsCtx merged commit 39081a5 into xapi-project:master May 7, 2024
2 checks passed
@MarkSymsCtx MarkSymsCtx deleted the CA-384942 branch May 7, 2024 14:11
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.

None yet

5 participants