[libvirt] [PATCH v2 0/5] Misc cleanups for internal.h & fix tests with CLang