-
Notifications
You must be signed in to change notification settings - Fork 70
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
Resize CPU with custom cpu share #840
Resize CPU with custom cpu share #840
Conversation
da880af
to
336e562
Compare
Signed-off-by: santhosh-sloka <[email protected]>
336e562
to
b542e9f
Compare
@@ -1005,7 +1005,7 @@ def guest_create(self, userid, vcpus, memory, disk_list=None, | |||
rdomain, pcif) | |||
|
|||
@check_guest_exist() | |||
def guest_live_resize_cpus(self, userid, cpu_cnt): | |||
def guest_live_resize_cpus(self, userid, cpu_cnt, cpu_share=''): |
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.
update feilong doc accoordingly for the new parameter
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.
sure @bjhuangr , will update the feilong doc as well
@santhosh-sloka please update the doc in another PR |
sure @bjhuangr ,Thanks i am working on it, will update the doc and raise the new PR soon |
What this PR does / why we need it:
The code will help successful CPU resize Operation by preserving the custom CPU share deployed by the customer.
Which issue(s) this PR fixes(unless minor typo change ,better to have an issue opened):
https://github.ibm.com/zvc/planning/issues/18693
Special notes for your reviewer:
There is a dependent PR for this in icic-dev repo, " https://github.ibm.com/zvc/icic-dev/pull/6088 " both of the PR's should be merged together
Results are attached here :
https://github.ibm.com/zvc/planning/issues/18693#issuecomment-88412796
https://github.ibm.com/zvc/planning/issues/18693#issuecomment-88412883
https://github.ibm.com/zvc/planning/issues/18693#issuecomment-88499911 << resize with VM shutdown
[optional] which components (compute, zvm/kvm etc)
zvm
[optional] backward incompatible change
[optional] security impact
[optional] open source package impact
--signed-off : [email protected] ( [email protected] )