From b8872af53f9a8441214096a5f1c63b0abd47ed63 Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Sun, 17 Dec 2017 13:03:17 +0100 Subject: Increase ram of XCI VM and change disk cache type for all VMs These options seem to help with the functest execution within XCI VM. Change-Id: I3b9b6b02fc571feb42543025f8ab179c6db18e0a Signed-off-by: Fatih Degirmenci --- xci/scripts/vm/start-new-vm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xci/scripts/vm/start-new-vm.sh') diff --git a/xci/scripts/vm/start-new-vm.sh b/xci/scripts/vm/start-new-vm.sh index d451daae..0af2a359 100755 --- a/xci/scripts/vm/start-new-vm.sh +++ b/xci/scripts/vm/start-new-vm.sh @@ -85,7 +85,7 @@ update_clean_vm_files() { declare -r CPU=${XCI_CPU_TYPE:-host-passthrough} declare -r NCPUS=${XCI_NCPUS:-24} -declare -r MEMORY=${XCI_MEMORY_SIZE:-49152} +declare -r MEMORY=${XCI_MEMORY_SIZE:-65536} declare -r DISK=${XCI_DISK_SIZE:-500} declare -r VM_NAME=${1}_xci_vm declare -r OS=${1} @@ -208,7 +208,7 @@ sudo virsh net-list --inactive | grep -q ${NETWORK} && sudo virsh net-start ${NE echo "Installing virtual machine '${VM_NAME}'..." sudo virt-install -n ${VM_NAME} --memory ${MEMORY} --vcpus ${NCPUS} --cpu ${CPU} \ - --import --disk=${OS_IMAGE_FILE},cache=unsafe,bus=virtio --network network=${NETWORK},model=virtio \ + --import --disk=${OS_IMAGE_FILE},cache=none,bus=virtio --network network=${NETWORK},model=virtio \ --graphics none --hvm --noautoconsole trap destroy_vm_on_failures EXIT -- cgit 1.2.3-korg