-
Notifications
You must be signed in to change notification settings - Fork 200
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 the cpu pinning parsing logic to parse the format appropriately and exclude cpu from pinning list #409
Conversation
Please squash both commits into a single one. In general, changes addressing reviews shall be made into the relevant commit, not adding new commits, to keep the git history clean. Thanks for your contribution! |
The code LGTM. +1 to what @aesteve-rh said - please rebase the branch and squash the commits into a single one. |
Updated the branch. Can we squash commits when merging the changes? |
@shubhaOracle you've used a merge commit instead of rebasing. You can read about the differences here. Please rewrite the branch so that we have 1 commit that includes all the changes and no merge commits. I just noticed that we don't have a section in our development guide on git commits, I'll make a PR for that. |
Posted a short guide here |
I've made a nice tutorial for you, enjoy :) https://asciinema.org/a/9QlEBnXyUlEBIJ2q1putVOoZC |
07d9913
to
bb93151
Compare
@tinez Thank you so much for the tutorial!!! I have made the changes now. |
yw :) |
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.
We still need to address the failing assertion.
bb93151
to
98a41c1
Compare
Made fix to address the failing assertion. |
The patch itself looks good to me, but I'd suggest:
|
Issue: The CPU pinning tool tip says that to exclude a cpu from pinning, it needs to provided in the following format. 0#10-13_1#25-27,^26 With this format CPU 26 will be excluded from pinning. However, vdsm code fails to parse the above string resulting in VM start failure. Fix: Fix the cpu pinning parsing logic to parse the format appropriately and exclude cpu from pinning list. Signed-off-by: ShubhaOracle <[email protected]>
98a41c1
to
aa3bb2d
Compare
Updated the commit message. |
Issue: The CPU pinning tool tip says that to exclude a cpu from pinning, it needs to provided in the following format.
0#10-13_1#25-27,^26
With this format CPU 26 will be excluded from pinning. However, vdsm code fails to parse the above string resulting in VM start failure.
Fix: Fix the cpu pinning parsing logic to parse the format appropriately and exclude cpu from pinning list.
Signed-off-by: ShubhaOracle [email protected]