Thread (153 messages) 153 messages, 23 authors, 2023-05-23

Re: [PATCH v10 4/9] KVM: Add KVM_EXIT_MEMORY_FAULT exit

From: Sean Christopherson <seanjc@google.com>
Date: 2023-01-13 23:14:20
Also in: kvm, linux-arch, linux-doc, linux-fsdevel, linux-mm, lkml, qemu-devel

On Fri, Dec 02, 2022, Chao Peng wrote:
quoted hunk ↗ jump to hunk
diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
index 99352170c130..d9edb14ce30b 100644
--- a/Documentation/virt/kvm/api.rst
+++ b/Documentation/virt/kvm/api.rst
@@ -6634,6 +6634,28 @@ array field represents return values. The userspace should update the return
 values of SBI call before resuming the VCPU. For more details on RISC-V SBI
 spec refer, https://github.com/riscv/riscv-sbi-doc.
 
+::
+
+		/* KVM_EXIT_MEMORY_FAULT */
+		struct {
+  #define KVM_MEMORY_EXIT_FLAG_PRIVATE	(1ULL << 0)
Unless there's a reason not to, we should use bit 3 to match the attributes.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help