On Thu, Dec 03, 2020 at 13:36:05 +0100, Michal Privoznik wrote: > This macro checks whether given number is an integer power of > two. Mention that you are also refactoring code to use it. > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> > --- > src/internal.h | 10 +++++++++ > src/qemu/qemu_validate.c | 46 +++++++++++++++++++++------------------- > src/util/virrandom.c | 2 +- > 3 files changed, 35 insertions(+), 23 deletions(-) Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>