[libvirt] [PATCH 20/24] conf: numa: Add helper to get guest NUMA node count and refactor users