Commit c0bfc619 by Karsa Zoltán István

update cache unit

parent f95aa746
...@@ -269,7 +269,7 @@ class VMDisk: ...@@ -269,7 +269,7 @@ class VMDisk:
'cache': self.driver_cache}) 'cache': self.driver_cache})
metadata_cache = ET.SubElement(driver, 'metadata_cache') metadata_cache = ET.SubElement(driver, 'metadata_cache')
ET.SubElement(metadata_cache, 'max_size', ET.SubElement(metadata_cache, 'max_size',
attrib={'unit': 'bytes'}).text = str(self.cache_size) attrib={'unit': 'KB'}).text = str(self.cache_size)
return xml_top return xml_top
def dump_xml(self): def dump_xml(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment