Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhifan huang
slapos
Commits
97fc9194
Commit
97fc9194
authored
May 21, 2021
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/kvm: fix aio and cache parameter for direct disk access
This fixes
157dd7ab
.
parent
3ea26b76
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
software/kvm/buildout.hash.cfg
software/kvm/buildout.hash.cfg
+1
-1
software/kvm/template/template-kvm-run.in
software/kvm/template/template-kvm-run.in
+2
-2
No files found.
software/kvm/buildout.hash.cfg
View file @
97fc9194
...
@@ -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 = b
3945eb1491120117c75a16b098a46ad
md5sum = b
e750fb62f7057c97dd6c6887b2149cc
[template-kvm-controller]
[template-kvm-controller]
filename = template/kvm-controller-run.in
filename = template/kvm-controller-run.in
...
...
software/kvm/template/template-kvm-run.in
View file @
97fc9194
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment