Signed-off-by: Ramon Medeiros <ramonn@linux.vnet.ibm.com>
---
xmlutils/disk.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/xmlutils/disk.py b/xmlutils/disk.py
index 97298c5..76700b9 100644
--- a/xmlutils/disk.py
+++ b/xmlutils/disk.py
@@ -163,7 +163,9 @@ def get_vm_disk_info(dom, dev_name):
'path': path,
'type': disk.attrib['device'],
'format': disk.driver.attrib['type'],
- 'bus': disk.target.attrib['bus']}
+ 'bus': disk.target.attrib['bus'],
+ 'io': disk.driver.attrib.get('io', 'none'),
+ 'cache': disk.driver.attrib.get('cache', 'none')}
def get_vm_disks(dom):
--
2.9.3
_______________________________________________
Kimchi-devel mailing list
Kimchi-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel