]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
KVM: s390: Update KVM_PRE_FAULT_MEMORY API documentation
authorClaudio Imbrenda <imbrenda@linux.ibm.com>
Wed, 27 May 2026 14:43:56 +0000 (16:43 +0200)
committerClaudio Imbrenda <imbrenda@linux.ibm.com>
Thu, 28 May 2026 11:05:53 +0000 (13:05 +0200)
Update the API documentation for KVM_PRE_FAULT_MEMORY to account for
its s390 implementation.

Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-ID: <20260527144358.186359-4-imbrenda@linux.ibm.com>

Documentation/virt/kvm/api.rst

index 52bbbb553ce107bea5f34b65ee64a34319467686..e7998feaa940b735d1eb164c5d1c634a4ac2377d 100644 (file)
@@ -6471,7 +6471,8 @@ Errors:
 
   ========== ===============================================================
   EINVAL     The specified `gpa` and `size` were invalid (e.g. not
-             page aligned, causes an overflow, or size is zero).
+             page aligned, causes an overflow, or size is zero), or the VM
+             is UCONTROL (s390).
   ENOENT     The specified `gpa` is outside defined memslots.
   EINTR      An unmasked signal is pending and no page was processed.
   EFAULT     The parameter address was invalid.
@@ -6494,7 +6495,7 @@ Errors:
 KVM_PRE_FAULT_MEMORY populates KVM's stage-2 page tables used to map memory
 for the current vCPU state.  KVM maps memory as if the vCPU generated a
 stage-2 read page fault, e.g. faults in memory as needed, but doesn't break
-CoW.  However, KVM does not mark any newly created stage-2 PTE as Accessed.
+CoW.  On x86, KVM does not mark any newly created stage-2 PTE as Accessed.
 
 In the case of confidential VM types where there is an initial set up of
 private guest memory before the guest is 'finalized'/measured, this ioctl