Conversation
Signed-off-by: saurabhsadhalesuse <saurabh.sadhale@suse.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @saurabhsadhalesuse. Thanks for your PR. I'm waiting for a kubevirt member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
| A **virtual CPU** (vCPU) is the CPU that is seen to the Guest VM OS. A VM owner can manage the amount of vCPUs from the VM spec template using the CPU topology fields (`spec.template.spec.domain.cpu`). The `cpu` object has the integers `cores,sockets,threads` so that the virtual CPU is calculated by the following formula: `cores * sockets * threads`. | ||
|
|
||
| Before CPU hotplug was introduced, the VM owner could change these integers in the VM template while the VM is running, and they were staged until the next boot cycle. With CPU hotplug, it is possible to patch the `sockets` integer in the VM template and the change will take effect right away. | ||
| Before CPU hotplug was introduced, the VM owner could not change these integers in the VM template while the VM is running, and they were staged until the next boot cycle. With CPU hotplug, it is possible to patch the `sockets` integer in the VM template and the change will take effect right away. |
There was a problem hiding this comment.
| Before CPU hotplug was introduced, the VM owner could not change these integers in the VM template while the VM is running, and they were staged until the next boot cycle. With CPU hotplug, it is possible to patch the `sockets` integer in the VM template and the change will take effect right away. | |
| Before CPU hotplug was introduced, the VM owner could change these integers in the VM template while the VM was running but they would not take effect in the running VM until the next boot cycle. With CPU hotplug, it is possible to patch the `sockets` integer in the VM template and the change will take effect right away. |
I don't think the original sentence is incorrect but I completely agree that it is not clear in it's current state.
What it is saying is that before the CPU hotplug feature, you could update the VM config but there would be no immediate change to the VMI (running VM): you had to reboot the VM before those changes would take place.
@iholder101 Can you please take a quick look to confirm?
There was a problem hiding this comment.
I don't think the original sentence is incorrect but I completely agree that it is not clear in it's current state. What it is saying is that before the CPU hotplug feature, you could update the VM config but there would be no immediate change to the VMI (running VM): you had to reboot the VM before those changes would take place.
@iholder101 Can you please take a quick look to confirm?
Yes, that's entirely correct.
However, TBH I think that the original sentence was the best phrasing IMO. I think "but they would not be staged" is also misleading here, as in this context the meaning of a "staged change" is that it is changed on the VM yaml, but hadn't affected the VMI yet (but will make an effect on the next reboot).
Maybe the "staged change" terminology is misleading altogether?
There was a problem hiding this comment.
Thanks @iholder101
I did not know that about the term 'staged change' :)
I've updated the suggested text to just use 'take effect in the running VM', which echoes the following sentence as well.
What this PR does / why we need it:
Special notes for your reviewer:
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.
Release note: