mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
24 lines
949 B
Plaintext
24 lines
949 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * virt/virtual_machines/virt-edit-vms.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="virt-hot-plugging-memory_{context}"]
|
|
|
|
= Hot plugging memory on a virtual machine
|
|
|
|
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.
|
|
|
|
.Procedure
|
|
|
|
. Navigate to *Virtualization* -> *VirtualMachines*.
|
|
. Select the required VM to open the *VirtualMachine details* page.
|
|
. On the *Configuration* tab, click *Edit CPU|Memory*.
|
|
. Enter the desired amount of memory and click *Save*.
|
|
|
|
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.
|
|
|
|
[NOTE]
|
|
====
|
|
Linux guests require a kernel version of 5.16 or later and Windows guests require the latest `viomem` drivers.
|
|
==== |