Add get_disk_attr function to vm_xml.
Check tag name before finding it.
Merge pull request #1780 from rbian/disk-attr

Add get_disk_attr function to vm_xml.