Re: [PATCH RFC 1/3] xen/hypfs: add support for bool leafs in dynamic directories

2021-01-08 Thread Jan Beulich
On 09.12.2020 17:16, Juergen Gross wrote: > --- a/xen/common/hypfs.c > +++ b/xen/common/hypfs.c > @@ -501,17 +501,26 @@ int hypfs_read_dir(const struct hypfs_entry *entry, > return 0; > } > > -int hypfs_read_leaf(const struct hypfs_entry *entry, > -

[PATCH RFC 1/3] xen/hypfs: add support for bool leafs in dynamic directories

2020-12-09 Thread Juergen Gross
Add support for reading fixed sized leafs and writing bool leafs in dynamic directories with the backing variable being a member of the structure anchored in struct hypfs_dyndir->data. This adds the related leaf read and write functions and a helper macro HYPFS_STRUCT_ELEM() for referencing the