Quoting Janosch Frank (2023-01-30 10:53:23) [...] > > diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst > > index 9807b05a1b57..2978acfcafc4 100644 > > --- a/Documentation/virt/kvm/api.rst > > +++ b/Documentation/virt/kvm/api.rst > > @@ -4537,11 +4537,17 @@ mask is unused. > > > > values points to the userspace buffer where the result will be stored. > > > > -This ioctl can fail with -ENOMEM if not enough memory can be allocated to > > -complete the task, with -ENXIO if CMMA is not enabled, with -EINVAL if > > -KVM_S390_CMMA_PEEK is not set but migration mode was not enabled, with > > --EFAULT if the userspace address is invalid or if no page table is > > -present for the addresses (e.g. when using hugepages). > > +Errors: > > + > > + ====== ============================================================= > > + ENOMEM not enough memory can be allocated to complete the task > > + ENXIO if CMMA is not enabled > > + EINVAL if KVM_S390_CMMA_PEEK is not set but migration mode was not enabled > > + EINVAL if KVM_S390_CMMA_PEEK is not set but dirty tracking has been > > + disabled (and thus migration mode was automatically disabled) > > + EFAULT if the userspace address is invalid or if no page table is > > + present for the addresses (e.g. when using hugepages). > > + ====== ============================================================= > > May I move this to the top? Sure, please go ahead. >