Linux KVM Virtualization Reconfigure Guest CPUs

From NovaOrdis Knowledge Base
Revision as of 06:58, 4 December 2020 by Ovidiu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 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>