Skip to content
Snippets Groups Projects
Commit 618c36ae authored by Thibault VINCENT's avatar Thibault VINCENT
Browse files

fix vm disk path no reported for BD backend

parent 51820950
No related branches found
No related tags found
No related merge requests found
......@@ -591,7 +591,7 @@ class LibvirtVm(VM):
d_path = xdisk.getElementsByTagName('source').pop()\
.getAttribute('file')
elif d_type == 'block':
d_path = disk.getElementsByTagName('source').pop()\
d_path = xdisk.getElementsByTagName('source').pop()\
.getAttribute('dev')
# search the volume object
if d_type in ['file', 'block']:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment