Re: [PATCH v2 4/7] bitmap: move to/from xenctl_bitmap conversion helpers

2020-08-19 Thread Jan Beulich
On 07.08.2020 19:50, Andrew Cooper wrote: > On 07/08/2020 12:33, Jan Beulich wrote: >> --- a/xen/common/bitmap.c >> +++ b/xen/common/bitmap.c >> @@ -384,3 +386,87 @@ void bitmap_byte_to_long(unsigned long * >> } >> >> #endif >> + >> +int bitmap_to_xenctl_bitmap(struct xenctl_bitmap *xenctl_bitm

Re: [PATCH v2 4/7] bitmap: move to/from xenctl_bitmap conversion helpers

2020-08-10 Thread Julien Grall
Hi, On 07/08/2020 12:33, Jan Beulich wrote: A subsequent change will exclude domctl.c from getting built for a particular configuration, yet the two functions get used from elsewhere. Signed-off-by: Jan Beulich Acked-by: Julien Grall Cheers, --- v2: Move function decls to xen/bitmap.h.

Re: [PATCH v2 4/7] bitmap: move to/from xenctl_bitmap conversion helpers

2020-08-07 Thread Andrew Cooper
On 07/08/2020 12:33, Jan Beulich wrote: > --- a/xen/common/bitmap.c > +++ b/xen/common/bitmap.c > @@ -384,3 +386,87 @@ void bitmap_byte_to_long(unsigned long * > } > > #endif > + > +int bitmap_to_xenctl_bitmap(struct xenctl_bitmap *xenctl_bitmap, > +const unsigned lo

[PATCH v2 4/7] bitmap: move to/from xenctl_bitmap conversion helpers

2020-08-07 Thread Jan Beulich
A subsequent change will exclude domctl.c from getting built for a particular configuration, yet the two functions get used from elsewhere. Signed-off-by: Jan Beulich --- v2: Move function decls to xen/bitmap.h. --- a/xen/common/bitmap.c +++ b/xen/common/bitmap.c @@ -9,6 +9,8 @@ #include #inc