VCL-1008 Added libvirt.pm::get_master_xml_device_info to handle the common error checking when parsing the device section of the domain XML.