Show Table of Contents
15.13.5. 仮想 CPU の親和性を設定する
物理 CPU と仮想 CPU の親和性を設定するには、以下のようにします。
# virsh vcpupin domain-id vcpu cpulist
domain-id
パラメーターは、ゲスト仮想マシンの ID 番号または名前です。
vcpu
パラメーターはゲスト仮想マシンに割り当てられた仮想化 CPU の数を示します。vcpu
パラメーターを指定する必要があります。
cpulist
パラメーターは物理 CPU の識別子番号をコンマで区切った一覧です。cpulist
パラメーターで VCPU を実行する物理 CPU を指定します。
--config
などの追加のパラメーターは次回の起動に影響を与えますが、--live
は稼働中のドメインに、 --current
は現在のドメインに影響を与えます。
Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.