[libvirt] [PATCH 04/34] xenapi: Refactor extraction of vcpu count