virsh: Fix xpath queries for retrieving vcpu count
The fallback code used if virDomainGetVcpusFlags is not supported used wrong XPath queries and basically did not work at all. Fix them to point to the <domain> <vcpu> element instead of <vcpus> which was not present until lately.
Showing
想要评论请 注册 或 登录