Template:KVM RAM

From Kicksecure
Jump to navigation Jump to search

1. Shutdown the virtual machine(s).

Click = Copy Copied to clipboard! virsh -c qemu:///system shutdown <vm_name>

2. Increase the maximum memory.

Click = Copy Copied to clipboard! virsh setmaxmem <vm_name> <memsize> --config

3. Set the actual memory.

Click = Copy Copied to clipboard! virsh setmem <vm_name> <memsize> --config

4. Restart the virtual machine(s).

Click = Copy Copied to clipboard! virsh -c qemu:///system start <vm_name>