Commit 97fc9194 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

software/kvm: fix aio and cache parameter for direct disk access

This fixes 157dd7ab.
parent 3ea26b76
...@@ -55,7 +55,7 @@ md5sum = b7e87479a289f472b634a046b44b5257 ...@@ -55,7 +55,7 @@ md5sum = b7e87479a289f472b634a046b44b5257
[template-kvm-run] [template-kvm-run]
filename = template/template-kvm-run.in filename = template/template-kvm-run.in
md5sum = b3945eb1491120117c75a16b098a46ad md5sum = be750fb62f7057c97dd6c6887b2149cc
[template-kvm-controller] [template-kvm-controller]
filename = template/kvm-controller-run.in filename = template/kvm-controller-run.in
......
...@@ -64,8 +64,8 @@ for disk_device_path in '{{ parameter_dict.get("disk-device-path", "") }}'.split ...@@ -64,8 +64,8 @@ for disk_device_path in '{{ parameter_dict.get("disk-device-path", "") }}'.split
disk_info_list.append({ disk_info_list.append({
'path': disk_device_path, 'path': disk_device_path,
'format': "raw", 'format': "raw",
'aio': {{ parameter_dict['disk-aio'] or "native" }}, 'aio': "{{ parameter_dict['disk-aio'] or 'native' }}",
'cache': {{ parameter_dict['disk-cache'] or "none" }}, 'cache': "{{ parameter_dict['disk-cache'] or 'none' }}",
}) })
if not disk_info_list: 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