mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1] docs: kvm: x86: document EAGAIN in KVM_RUN
@ 2024-01-02 21:50 Changyuan Lyu
  0 siblings, 0 replies; only message in thread
From: Changyuan Lyu @ 2024-01-02 21:50 UTC (permalink / raw)
  To: Paolo Bonzini, Jonathan Corbet
  Cc: kvm, linux-doc, linux-kernel, Changyuan Lyu

The EAGAIN errno is returned when an application processor was
blocked because of an uninitialized MP state [1].

[1] commit c5ec153402b6 ("KVM: enable in-kernel APIC INIT/SIPI handling")

Signed-off-by: Changyuan Lyu <changyuan.lv@gmail.com>
---
 Documentation/virt/kvm/api.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
index 7025b3751027..fccdbb366770 100644
--- a/Documentation/virt/kvm/api.rst
+++ b/Documentation/virt/kvm/api.rst
@@ -370,6 +370,8 @@ Errors:
 
   =======    ==============================================================
   EINTR      an unmasked signal is pending
+  EAGAIN     the vcpu is an application processor (AP) and had not received
+             an INIT signal [x86]
   ENOEXEC    the vcpu hasn't been initialized or the guest tried to execute
              instructions from device memory (arm64)
   ENOSYS     data abort outside memslots with no syndrome info and
-- 
2.43.0.472.g3155946c3a-goog


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-02 21:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-02 21:50 [PATCH v1] docs: kvm: x86: document EAGAIN in KVM_RUN Changyuan Lyu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®