Skip to content

Commit 9ce3746

Browse files
esposembonzini
authored andcommitted
documentation/kvm: additional explanations on KVM_SET_BOOT_CPU_ID
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>
1 parent f4e61f0 commit 9ce3746

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Documentation/virt/kvm/api.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,8 @@ Fails if any VCPU has already been created.
14951495

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

15001501

15011502
4.42 KVM_GET_XSAVE

0 commit comments

Comments
 (0)