From: Changyuan Lyu <changyuan.lv@gmail.com>
To: Paolo Bonzini <pbonzini@redhat.com>, Jonathan Corbet <corbet@lwn.net>
Cc: kvm@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org,
Changyuan Lyu <changyuan.lv@gmail.com>
Subject: [PATCH v1] docs: kvm: x86: document EAGAIN in KVM_RUN
Date: Tue, 2 Jan 2024 13:50:53 -0800 [thread overview]
Message-ID: <20240102215053.32829-1-changyuan.lv@gmail.com> (raw)
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
reply other threads:[~2024-01-02 21:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240102215053.32829-1-changyuan.lv@gmail.com \
--to=changyuan.lv@gmail.com \
--cc=corbet@lwn.net \
--cc=kvm@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®