Add get_disk_attr function to vm_xml.
Merge branch 'disk-attr' of https://github.com/rbian/virt-test into disk-attr