Difference between revisions of "Virsh setmaxmem"

From wikieduonline
Jump to navigation Jump to search
(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....")
 
Line 12: Line 12:
 
error: Requested operation is not valid: cannot resize the maximum memory on an active domain
 
error: Requested operation is not valid: cannot resize the maximum memory on an active domain
 
</pre>
 
</pre>
 +
 +
Related command: <code>[[virsh setmem]]</code>
 +
  
 
== See also ==
 
== See also ==

Revision as of 12:22, 29 December 2019

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

Related command: virsh setmem


See also

Advertising: