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
qemu-vm device name cleanup #92205
qemu-vm device name cleanup #92205
Conversation
41e2c7f
to
5a0d2d6
Compare
lookupDriveDeviceName = driveName: driveList: | ||
(findSingle (drive: drive.name == driveName) | ||
(throw "Drive ${driveName} not found") | ||
(throw "Multilple drives named ${driveName}") driveList).device; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multiple
typo pointed out by #92122 (review)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have force-pushed a fix to this into your PR (top commit).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My VM tests show that this is working.
Motivation for this change
This is just the cleanup & refactor pieces from #72354 as a separate PR so that #92122 can build atop them without waiting for #72354 to be merged.
Things done
sandbox
innix.conf
on non-NixOS linux)