Move get_disk_attr to vm_xml.py.