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]
Message-ID: <20240624075820.71583-2-yskelg@gmail.com>
Date: Mon, 24 Jun 2024 16:58:21 +0900
From: yskelg@...il.com
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: MichelleJin <shjy180909@...il.com>,
	kvm@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Yunseong Kim <yskelg@...il.com>
Subject: [PATCH] tools/kvm_stat: update exit reasons for userspace

From: Yunseong Kim <yskelg@...il.com>

Update EXIT_REASONS from source, including 2 USERSPACE_EXIT_REASONS:
'KVM_EXIT_LOONGARCH_IOCSR' and 'KVM_EXIT_MEMORY_FAULT'.

Link: https://lore.kernel.org/all/20231121225650.390246-3-namhyung@kernel.org/
Link: https://lore.kernel.org/lkml/ZbVLbkngp4oq13qN@kernel.org/
Signed-off-by: Yunseong Kim <yskelg@...il.com>
---
 tools/kvm/kvm_stat/kvm_stat | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/kvm/kvm_stat/kvm_stat b/tools/kvm/kvm_stat/kvm_stat
index 15bf00e79e3f..eec6c00e3ff9 100755
--- a/tools/kvm/kvm_stat/kvm_stat
+++ b/tools/kvm/kvm_stat/kvm_stat
@@ -288,6 +288,8 @@ USERSPACE_EXIT_REASONS = {
     'RISCV_SBI':        35,
     'RISCV_CSR':        36,
     'NOTIFY':           37,
+    'LOONGARCH_IOCSR':  38,
+    'MEMORY_FAULT':     39
 }
 
 IOCTL_NUMBERS = {
-- 
2.45.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ