[gate] Mask AVX2 to prevent 16.04 on 16.04 VMs boot crashes

16.04 on 16.04 VMs will crash (illegal instruction in
raid6_avx21_gen_syndrome) on boot if the host has AVX2 and we pass
that through.

The issue seems to be the guest kernel sees presence of AVX2 so raid6
module makes use of it - though it's not enabled (different bits).

Until this is resolved in the host hypervisor (kvm) and/or guest
kernel, mask out AVX2 to prevent crashes in L1/L2 VMs.

Change-Id: I0ca8edb8f62f9f2e96aa5e265bac631c346d0eac
This commit is contained in:
Chris Wedgwood 2018-09-21 22:08:16 +00:00
parent d066a5c7b3
commit 9b4814ad0c
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ vm_create() {
virt-install \
--name "${NAME}" \
--virt-type kvm \
--cpu host \
--cpu host,+x2apic,-avx2 \
--graphics vnc,listen=0.0.0.0 \
--noautoconsole \
--network "network=promenade,model=virtio" \