Skip to content

Commit 0e3ed93

Browse files
authored
Merge pull request #81989 from danielclowers/CNV-40184-01
CNV#40184: Memory hot plug doc
2 parents fcbad7d + 2e38065 commit 0e3ed93

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

modules/virt-hot-plugging-memory.adoc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/virtual_machines/virt-edit-vms.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="virt-hot-plugging-memory_{context}"]
7+
8+
= Hot plugging memory on a virtual machine
9+
10+
You can add or remove the amount of memory allocated to a virtual machine (VM) without having to restart the VM by using the {product-title} web console.
11+
12+
.Procedure
13+
14+
. Navigate to *Virtualization* -> *VirtualMachines*.
15+
. Select the required VM to open the *VirtualMachine details* page.
16+
. On the *Configuration* tab, click *Edit CPU|Memory*.
17+
. Enter the desired amount of memory and click *Save*.
18+
19+
The system applies these changes immediately. 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.
20+
21+
[NOTE]
22+
====
23+
Linux guests require a kernel version of 5.16 or later and Windows guests require the latest `viomem` drivers.
24+
====

virt/virtual_machines/virt-edit-vms.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ ifndef::openshift-rosa,openshift-dedicated[]
1414
To edit a VM to configure disk sharing by using virtual disks or LUN, see xref:../../virt/virtual_machines/virtual_disks/virt-configuring-shared-volumes-for-vms.adoc#virt-configuring-shared-volumes-for-vms[Configuring shared volumes for virtual machines].
1515
endif::openshift-rosa,openshift-dedicated[]
1616

17+
include::modules/virt-hot-plugging-memory.adoc[leveloffset=+1]
1718
include::modules/virt-editing-vm-cli.adoc[leveloffset=+1]
1819

1920
include::modules/virt-add-disk-to-vm.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)