[libvirt] [PATCH 3/5] Introduce functions for checking whether a pidfile is valid