Linux Virtualization Reconfigure Guest Memory: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Verify that the memory change took: | |||
<syntaxhighlight lang='bash'> | |||
virsh dominfo docker | |||
</syntaxhighlight> | |||
<vcpu placement='auto'>16</vcpu> | <vcpu placement='auto'>16</vcpu> |
Revision as of 06:36, 4 December 2020
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:
virsh start <guest-name>
Verify that the memory change took:
virsh dominfo docker
<vcpu placement='auto'>16</vcpu>