diff options
Diffstat (limited to 'xci')
-rwxr-xr-x | xci/config/aio-vars | 1 | ||||
-rwxr-xr-x | xci/config/ha-vars | 1 | ||||
-rwxr-xr-x | xci/config/mini-vars | 1 | ||||
-rwxr-xr-x | xci/config/noha-vars | 1 | ||||
-rwxr-xr-x | xci/scripts/vm/start-new-vm.sh | 4 |
5 files changed, 2 insertions, 6 deletions
diff --git a/xci/config/aio-vars b/xci/config/aio-vars index e5a1aee9..1d2e4f96 100755 --- a/xci/config/aio-vars +++ b/xci/config/aio-vars @@ -15,4 +15,3 @@ export VM_DOMAIN_TYPE=${VM_DOMAIN_TYPE:-kvm} export VM_CPU=${VM_CPU:-8} export VM_DISK=${VM_DISK:-80} export VM_MEMORY_SIZE=${VM_MEMORY_SIZE:-8192} -export VM_DISK_CACHE=none diff --git a/xci/config/ha-vars b/xci/config/ha-vars index 4c7cd872..32616ab3 100755 --- a/xci/config/ha-vars +++ b/xci/config/ha-vars @@ -15,4 +15,3 @@ export VM_DOMAIN_TYPE=${VM_DOMAIN_TYPE:-kvm} export VM_CPU=${VM_CPU:-6} export VM_DISK=${VM_DISK:-80} export VM_MEMORY_SIZE=${VM_MEMORY_SIZE:-16384} -export VM_DISK_CACHE=none diff --git a/xci/config/mini-vars b/xci/config/mini-vars index 48b38ce8..142e8868 100755 --- a/xci/config/mini-vars +++ b/xci/config/mini-vars @@ -15,4 +15,3 @@ export VM_DOMAIN_TYPE=${VM_DOMAIN_TYPE:-kvm} export VM_CPU=${VM_CPU:-6} export VM_DISK=${VM_DISK:-80} export VM_MEMORY_SIZE=${VM_MEMORY_SIZE:-12288} -export VM_DISK_CACHE=none diff --git a/xci/config/noha-vars b/xci/config/noha-vars index cb8901b8..4610b32a 100755 --- a/xci/config/noha-vars +++ b/xci/config/noha-vars @@ -15,4 +15,3 @@ export VM_DOMAIN_TYPE=${VM_DOMAIN_TYPE:-kvm} export VM_CPU=${VM_CPU:-6} export VM_DISK=${VM_DISK:-80} export VM_MEMORY_SIZE=${VM_MEMORY_SIZE:-12288} -export VM_DISK_CACHE=none diff --git a/xci/scripts/vm/start-new-vm.sh b/xci/scripts/vm/start-new-vm.sh index 70dc4efb..040377cd 100755 --- a/xci/scripts/vm/start-new-vm.sh +++ b/xci/scripts/vm/start-new-vm.sh @@ -208,12 +208,12 @@ if sudo vgscan | grep -q xci-vm-vg; then } echo "Flusing the ${OS_IMAGE_FILE} image to ${lv_dev}..." sudo qemu-img convert -O raw ${OS_IMAGE_FILE} ${lv_dev} - disk_config="${lv_dev},cache=directsync,bus=virtio" + disk_config="${lv_dev},cache=unsafe,io=threads,bus=virtio" else echo "Using file backend..." echo "Resizing disk image '${OS}' to ${DISK}G..." qemu-img resize ${OS_IMAGE_FILE} ${DISK}G - disk_config="${OS_IMAGE_FILE},cache=none,bus=virtio" + disk_config="${OS_IMAGE_FILE},cache=unsafe,io=threads,bus=virtio" fi echo "Installing virtual machine '${VM_NAME}'..." |