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

Alexandru Elisei alexandru.elisei at arm.com
Tue Jan 26 09:11:55 EST 2021


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 at arm.com>
---
 Documentation/virt/kvm/devices/arm-vgic-v3.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
     =======  ========================================================
 
 
-- 
2.30.0




More information about the linux-arm-kernel mailing list