diff mbox series

[1/2] Documentation: kvm: vgic-v3: Update return code for KVM_DEV_ARM_VGIC_GRP_CTRL

Message ID 20210126141156.39317-2-alexandru.elisei@arm.com (mailing list archive)
State New, archived
Headers show
Series KVM: arm64: vgic-v3: Misc fixes | expand

Commit Message

Alexandru Elisei Jan. 26, 2021, 2:11 p.m. UTC
KVM_DEV_ARM_VGIC_GRP_CTRL(KVM_DEV_ARM_VGIC_CTRL_INIT) can return -EBUSY
from vgic_init() if one or more VCPUs are in the process of being created
(kvm->created_cpus != kvm->online_cpus). Update the documentation for the
-EBUSY return code with this information.

Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>
---
 Documentation/virt/kvm/devices/arm-vgic-v3.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Documentation/virt/kvm/devices/arm-vgic-v3.rst b/Documentation/virt/kvm/devices/arm-vgic-v3.rst
index 5dd3bff51978..1fad08d722de 100644
--- a/Documentation/virt/kvm/devices/arm-vgic-v3.rst
+++ b/Documentation/virt/kvm/devices/arm-vgic-v3.rst
@@ -242,7 +242,9 @@  Groups:
     -ENODEV  no online VCPU
     -ENOMEM  memory shortage when allocating vgic internal data
     -EFAULT  Invalid guest ram access
-    -EBUSY   One or more VCPUS are running
+    -EBUSY   One or more VCPUS are running when saving the LPI pending
+             tables or VCPU creation is in progress when initializing
+             the VGIC
     =======  ========================================================