Skip to content

Commit

Permalink
documentation/kvm: additional explanations on KVM_SET_BOOT_CPU_ID
Browse files Browse the repository at this point in the history
The ioctl KVM_SET_BOOT_CPU_ID fails when called after vcpu creation.
Add this explanation in the documentation.

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Message-Id: <20210319091650.11967-1-eesposit@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
Emanuele Giuseppe Esposito authored and Paolo Bonzini committed Mar 19, 2021
1 parent f4e61f0 commit 9ce3746
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Documentation/virt/kvm/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1495,7 +1495,8 @@ Fails if any VCPU has already been created.

Define which vcpu is the Bootstrap Processor (BSP). Values are the same
as the vcpu id in KVM_CREATE_VCPU. If this ioctl is not called, the default
is vcpu 0.
is vcpu 0. This ioctl has to be called before vcpu creation,
otherwise it will return EBUSY error.


4.42 KVM_GET_XSAVE
Expand Down

0 comments on commit 9ce3746

Please sign in to comment.