Linux KVM Virtualization Reconfigure Guest CPUs: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Internal=
* [[Linux_Virtualization_Operations#Guest_Operations|Linux Virtualization Operations]]
=Internal=
=Internal=


Line 32: Line 28:
Verify that the memory change took:
Verify that the memory change took:
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
virsh dominfo docker
virsh dominfo <guest-name>
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 06:58, 4 December 2020

Internal

Procedure

Shut down the guest:

virsh shutdown <guest-name>

Edit the guest definition:

virsh edit <guest-name>

Lookup the CPU definition line:

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

Edit to the desired value.

Restart the guest:

virsh start <guest-name>

Verify that the memory change took:

virsh dominfo <guest-name>