From: Emanuele Giuseppe Esposito Date: Fri, 19 Mar 2021 09:16:50 +0000 (+0100) Subject: documentation/kvm: additional explanations on KVM_SET_BOOT_CPU_ID X-Git-Tag: v5.15~1513^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ce3746d64132a561bceab6421715e7c04e85074;p=platform%2Fkernel%2Flinux-starfive.git 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 Message-Id: <20210319091650.11967-1-eesposit@redhat.com> Signed-off-by: Paolo Bonzini --- diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst index 2898d3e..307f2fc 100644 --- a/Documentation/virt/kvm/api.rst +++ b/Documentation/virt/kvm/api.rst @@ -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