Skip to content

Commit 5ac35b2

Browse files
authored
Merge pull request #95584 from Vaishali-gif-rh/CNV#62606
CNV #62606- VM CPU/Memory Hot Plugging
2 parents 665f1dd + e8dadc2 commit 5ac35b2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

modules/virt-hot-plugging-cpu.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,9 @@ 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.
2120

21+
[NOTE]
22+
====
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.
25+
====

modules/virt-hot-plugging-memory.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ The system applies these changes immediately. If the VM is migratable, a live mi
2020

2121
[NOTE]
2222
====
23-
Linux guests require a kernel version of 5.16 or later and Windows guests require the latest `viomem` drivers.
23+
* Linux guests require a kernel version of 5.16 or later and Windows guests require the latest `viomem` drivers.
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.
2425
====

0 commit comments

Comments
 (0)