[PATCH 2/2] refactoring virDomainDeviceInfoParseXML to use XPath