Commit 97fc9194 authored by Thomas Gambier's avatar Thomas Gambier :bicyclist_tone2:

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

This fixes 157dd7ab.
parent 3ea26b76
No related merge requests found
......@@ -55,7 +55,7 @@ md5sum = b7e87479a289f472b634a046b44b5257
[template-kvm-run]
filename = template/template-kvm-run.in
md5sum = b3945eb1491120117c75a16b098a46ad
md5sum = be750fb62f7057c97dd6c6887b2149cc
[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': {{ parameter_dict['disk-aio'] or "native" }},
'cache': {{ parameter_dict['disk-cache'] or "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