Virsh setmaxmem

From wikieduonline
Revision as of 12:18, 29 December 2019 by Welcome (talk | contribs) (Created page with "<code>virsh setmaxmem domain size [[--config] [--live] | [--current]]</code> Command is available at least the Xen, QEMU/KVM and vSphere/ESX hypervisors....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

virsh setmaxmem domain size [[--config] [--live] | [--current]]

Command is available at least the Xen, QEMU/KVM and vSphere/ESX hypervisors.


virsh dominfo YOUR_VM_NAME | grep memory
virsh setmaxmem YOUR_VM_NAME 8G
error: Unable to change MaxMemorySize
error: Requested operation is not valid: cannot resize the maximum memory on an active domain

See also

Advertising: