-
Notifications
You must be signed in to change notification settings - Fork 243
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
utils_disk: Fix regexp for getting first nvme disk #3724
Conversation
The current regexp can not used for getting nvme disk, so update the regexp. Signed-off-by: Hu Shuai <[email protected]>
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.
lgtm
please upload test result as well |
Before:
After:
Also checked entire guest_resource_control.control_cgroup test cases on a machine with only nvme disk, all passed with this patch and autotest/tp-libvirt#5045
|
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.
LGTM
The current regexp can not used for getting nvme disk, so update the regexp.