Skip to content

Commit 6483b29

Browse files
pr updated for 4.18.
1 parent f7925ca commit 6483b29

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

modules/virt-hot-plugging-cpu.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ You can increase or decrease the number of CPU sockets allocated to a virtual ma
1717
. Select the *vCPU* radio button.
1818
. Enter the desired number of vCPU sockets and click *Save*.
1919
+
20+
If the VM is migratable, a live migration is triggered. If not, or if the changes cannot be live-updated, a `RestartRequired` condition is added to the VM.
2021

2122
[NOTE]
2223
====
23-
* You can apply memory hot-plug changes immediately by using an automatic migration. If the live migration is not triggered, you must restart the VM. You can adjust this behavior cluster-wide by using the `maxHotplugRatio` parameter or override it in your VM.
24-
* By default, you can hot-plug a VM with up to 4 times its initial CPU or memory configuration. For example, a VM with 1 vCPU and 2 GiB memory can scale up to 4 vCPUs and 8 GiB before a restart is needed. You can adjust this behavior cluster-wide by using the `maxHotplugRatio` parameter or override it in your VM.
24+
If a VM has the `spec.template.spec.domain.devices.networkInterfaceMultiQueue` field enabled and CPUs are hot plugged, the following behavior occurs:
25+
* Existing network interfaces that you attach before the CPU hot plug retain their original queue count, even after you add more virtual CPUs (vCPUs). The underlying virtualization technology causes this expected behavior.
26+
* To update the queue count of existing interfaces to match the new vCPU configuration, you can restart the VM. A restart is only necessary if the update improves performance.
27+
* New VirtIO network interfaces that you hot plugged after the CPU hotplug automatically receive a queue count that matches the updated vCPU configuration.
2528
====

0 commit comments

Comments
 (0)