On 04.10.2023 15:53, Roger Pau Monne wrote: > @@ -1950,7 +1978,15 @@ int mem_sharing_fork_reset(struct domain *d, bool > reset_state, > > state: > if ( reset_state ) > + { > rc = copy_settings(d, pd); > + if ( rc == -ERESTART ) > + /* > + * Translate to -EAGAIN, see TODO comment at top of function > about > + * hypercall continuations. > + */ > + rc = -EAGAIN; > + }
Are existing callers known to properly handle EAGAIN? I'm worried of the verbosity that was no lost here. Jan