lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date: Tue,  2 Jan 2024 13:50:53 -0800
From: Changyuan Lyu <changyuan.lv@...il.com>
To: Paolo Bonzini <pbonzini@...hat.com>,
	Jonathan Corbet <corbet@....net>
Cc: kvm@...r.kernel.org,
	linux-doc@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Changyuan Lyu <changyuan.lv@...il.com>
Subject: [PATCH v1] docs: kvm: x86: document EAGAIN in KVM_RUN

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@...il.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ