x86_64-tune: fix KVM qemu options 29/9329/2
authorMartin Kelly <mkelly@xevo.com>
Mon, 8 May 2017 22:44:11 +0000 (15:44 -0700)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 9 May 2017 04:04:29 +0000 (04:04 +0000)
When using runqemu with KVM enabled, qemuboot.conf uses QB_CPU_KVM_x86
and QB_CPU_KVM_x86-64 instead of QB_CPU_qemux86-64. Without this fix,
the boot fails because the generic KVM CPUs don't support what Nehalem
does.

Change-Id: Ic7d160528c5aebfb835362f3ad3c2da2dc44c2c4
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9329
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl-distro/conf/distro/include/x86_64-tune.inc

index f1ce979..9130173 100644 (file)
@@ -51,4 +51,6 @@ TUNE_PKGARCH_tune-qemux86-64 = "corei7-64"
 PACKAGE_EXTRA_ARCHS_tune-qemux86-64 = "${PACKAGE_EXTRA_ARCHS_tune-core2-64} corei7-64"
 QEMU_EXTRAOPTIONS_qemux86-64 = " -cpu Nehalem,check=false"
 QB_CPU_qemux86-64 = " -cpu Nehalem,check=false"
+QB_CPU_KVM_x86 = "-cpu Nehalem,check=false"
+QB_CPU_KVM_x86-64 = "-cpu Nehalem,check=false"
 QB_MACHINE_qemux86-64 = "-machine q35"