Skip to content

Commit 32c2878

Browse files
added changes for 4.16
1 parent e352ff7 commit 32c2878

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

modules/virt-hot-plugging-memory.adoc

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
@@ -0,0 +1,24 @@
2+
// Module included in the following assemblies:
3+
//
4+
// * virt/virtual_machines/virt-edit-vms.adoc
5+
6+
:_mod-docs-content-type: PROCEDURE
7+
[id="virt-hot-plugging-memory_{context}"]
8+
9+
= Hot plugging memory on a virtual machine
10+
11+
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.
12+
13+
.Procedure
14+
15+
. Navigate to *Virtualization* -> *VirtualMachines*.
16+
. Select the required VM to open the *VirtualMachine details* page.
17+
. On the *Configuration* tab, click *Edit CPU|Memory*.
18+
. Enter the desired amount of memory and click *Save*.
19+
20+
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.
21+
22+
[NOTE]
23+
====
24+
* Memory hot-plugging for virtual machines requires guest operating system support for the `virtio-mem` driver. This support depends on the driver being included and enabled within the guest operating system, not on the specific upstream kernel versions.
25+
26+
Supported guest operating systems:
27+
28+
* RHEL 9.4 and later
29+
* RHEL 8.10 and later (hot-unplug is disabled by default)
30+
* Other Linux guests require kernel version 5.16 or later and the `virtio-mem` kernel module
31+
* Windows guests require `virtio-mem` driver version 100.95.104.26200 or later
32+
====

virt/virtual_machines/virt-edit-vms.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ 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]
18+
1719
include::modules/virt-editing-vm-cli.adoc[leveloffset=+1]
1820

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

0 commit comments

Comments
 (0)