On Fri, 2019-05-10 at 14:20 +0200, Michal Privoznik wrote: [...] > +static bool > +virSysinfoDefEmpty(const virSysinfoDef *def) This is a predicate, so please call it virSysinfoDefIsEmpty(). > +{ > + return !(def->bios || def->system || def->nbaseBoard || > + def->chassis || def->nprocessor || def->nmemory || def->oemStrings); For nbaseBoard, nprocessor and nmemory you should use explicit numeric comparison, according to the recently updated contributor guidelines[1]. With the two nits above addressed, Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx> [1] https://libvirt.org/hacking.html#conditions -- Andrea Bolognani / Red Hat / Virtualization -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list