Closed shubhaOracle closed 5 months ago
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.
I tried to follow the instructions to rebase and squash. While the rebase part seems to have worked, the squash commit can only work with adjacent commit. Pl see the screenshot. The commits need to squash are 37fe02548 and 8f12263bc. Pl suggest alternative.
I've made a nice tutorial for you, enjoy :) https://asciinema.org/a/9QlEBnXyUlEBIJ2q1putVOoZC
@tinez Thank you so much for the tutorial!!! I have made the changes now.
yw :)
Made fix to address the failing assertion.
The patch itself looks good to me, but I'd suggest:
virt: Add support for excluding CPUs in CPU list parsing
, which fits into a single line easily. And would add the reasoning, basically this PR description, to the commit message body.1-10,^4-6
, is not supported, which is fine but is worth to mention in the commit message.cpulist_parse
docstring.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 Shubha.kulkarni@oracle.com