Linux Virtualization Reconfigure Guest Memory

From NovaOrdis Knowledge Base
Revision as of 06:31, 4 December 2020 by Ovidiu (talk | contribs) (→‎Procedure)
Jump to navigation Jump to search

Internal

Procedure

Shut down the guest:

virsh shutdown <guest-name>

Edit the guest definition:

virsh edit <guest-name>

Lookup the memory definition line:

<memory unit='KiB'>16777216</memory>

Edit to the desired value (note that the memory is expressed in KiB)


Delete <currentMemory>

Restart the guest.


<vcpu placement='auto'>16</vcpu>