Difference between revisions of "Virsh setmaxmem"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
== See also == | == See also == | ||
* {{Virsh memory commands}} | * {{Virsh memory commands}} | ||
+ | * {{virsh}} | ||
* {{memory}} | * {{memory}} | ||
* {{KVM}} | * {{KVM}} |
Revision as of 06:27, 28 January 2020
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 YOUR_VM_NAME 8G
virsh dominfo YOUR_VM_NAME | grep memory
See also
- virsh Memory Commands:
virsh setmaxmem
,virsh setmem
,virsh dommemstat
virsh
: Storage information, Connecting, Operations, Memory, Snapshots, Networking, CPU, release notes,virsh nodedev-list
- Memory: memory pages, RAM, virsh Memory Commands, OOM, meminfo,
vmstat
, NAND, DDR,lsmem
,/dev/shm
,/proc/meminfo
,sar -r
, IOMMU,pmem
, Memory management, Garbage collector, THP, Linux Huge Page TLB - KVM, Installation, QEMU,
virsh
,virtinst
,libguestfs-tools
, libvirt, qemu, Red Hat Virtualization (RHV), MacVTap, Virtio, oVirt, KVM services, KVM networking, KVM graphics, CPU, KVM on ARM
Advertising: