aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/templates/virtual_environment
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2016-11-01 12:20:56 +0300
committerMichael Polenchuk <mpolenchuk@mirantis.com>2016-11-03 07:50:25 +0000
commit771761f708e6cb61fba99abf67a07111e1c75470 (patch)
treec46adb61851c1c1a0d5f5c5f93f11919181654a2 /deploy/templates/virtual_environment
parentc11337074cfa0d520fb3fa876965e420fd7145e3 (diff)
[virtual envs] Switch to raw imagescolorado.2.0
* use raw devices instead of qcow2 * disable i/o caching, it reduces data copies and bus traffic * set native aio instead of thread based JIRA: FUEL-201 Change-Id: I8ac728cbb5be5948080fab8ae4d3d311e0a5c09c Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit ed79331c115eac4aad0eccd4b191c9e1e836c73d)
Diffstat (limited to 'deploy/templates/virtual_environment')
-rw-r--r--deploy/templates/virtual_environment/vms/compute.xml2
-rw-r--r--deploy/templates/virtual_environment/vms/controller.xml2
-rw-r--r--deploy/templates/virtual_environment/vms/fuel.xml2
3 files changed, 3 insertions, 3 deletions
diff --git a/deploy/templates/virtual_environment/vms/compute.xml b/deploy/templates/virtual_environment/vms/compute.xml
index 0bff88827..0f8a0379b 100644
--- a/deploy/templates/virtual_environment/vms/compute.xml
+++ b/deploy/templates/virtual_environment/vms/compute.xml
@@ -24,7 +24,7 @@
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
- <driver name='qemu' type='qcow2'/>
+ <driver name='qemu' type='raw' cache='none' io='native'/>
<source file='disk.raw'/>
<target dev='vda' bus='virtio'/>
</disk>
diff --git a/deploy/templates/virtual_environment/vms/controller.xml b/deploy/templates/virtual_environment/vms/controller.xml
index 422aa39e2..8e239cb70 100644
--- a/deploy/templates/virtual_environment/vms/controller.xml
+++ b/deploy/templates/virtual_environment/vms/controller.xml
@@ -21,7 +21,7 @@
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
- <driver name='qemu' type='qcow2'/>
+ <driver name='qemu' type='raw' cache='none' io='native'/>
<source file='disk.raw'/>
<target dev='vda' bus='virtio'/>
</disk>
diff --git a/deploy/templates/virtual_environment/vms/fuel.xml b/deploy/templates/virtual_environment/vms/fuel.xml
index e2a05d86e..5be6d398e 100644
--- a/deploy/templates/virtual_environment/vms/fuel.xml
+++ b/deploy/templates/virtual_environment/vms/fuel.xml
@@ -29,7 +29,7 @@
<readonly/>
</disk>
<disk type='file' device='disk'>
- <driver name='qemu' type='qcow2'/>
+ <driver name='qemu' type='raw' cache='none' io='native'/>
<source file='disk.raw'/>
<target dev='vda' bus='virtio'/>
</disk>