Commit 157dd7ab authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

software/kvm: allow to change aio and cache parameter even for direct disk access

parent 3e1a0b5f
Pipeline #15587 failed with stage
in 0 seconds
......@@ -55,7 +55,7 @@ md5sum = b7e87479a289f472b634a046b44b5257
[template-kvm-run]
filename = template/template-kvm-run.in
md5sum = b8cc7c76438212e0522ebede88649393
md5sum = b3945eb1491120117c75a16b098a46ad
[template-kvm-controller]
filename = template/kvm-controller-run.in
......
......@@ -64,8 +64,8 @@ for disk_device_path in '{{ parameter_dict.get("disk-device-path", "") }}'.split
disk_info_list.append({
'path': disk_device_path,
'format': "raw",
'aio': "native",
'cache': "none"
'aio': {{ parameter_dict['disk-aio'] or "native" }},
'cache': {{ parameter_dict['disk-cache'] or "none" }},
})
if not disk_info_list:
......
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 to comment