[RFC v8 07/20] um: lkl: host interface
Hajime Tazaki
thehajime at gmail.com
Tue Mar 16 01:17:59 GMT 2021
On Mon, 15 Mar 2021 01:50:27 +0900,
Johannes Berg wrote:
>
>
> > +/**
> > + * struct lkl_host_operations - host operations used by the Linux kernel
> > + *
> > + * These operations must be provided by a host library or by the application
> > + * itself.
> > + *
> > + */
> > +struct lkl_host_operations {
> > +};
>
> IIRC, in previous reviews we discussed this and you said you'd look at
> just making those extern functions, instead of function pointers, since
> realistically there's no use in being able to switch these at runtime.
> What happened to that? Any particular reason not to?
Yes, I followed your suggestion that we just use functions instead of
function pointers ([17/20]).
Though we won't use pointers, we still need this structure to inform
userspace side (of LKL) to kernel. [19/20], block device
implementation uses this.
-- Hajime
More information about the linux-um
mailing list