Commit 67c2cc50 authored by Alex Bennée's avatar Alex Bennée Committed by Paolo Bonzini
Browse files

arm/run: ensure we use processor=host for kvm



The configure script will happily default to cortex-a15 even when
running on a cortex-a7. This runs into problems when running KVM on
common dev boards as we should be using the "host" processor.

Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Message-Id: <20170518160208.9674-3-alex.bennee@linaro.org>
Reviewed-by: Andrew Jones's avatarAndrew Jones <drjones@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 98cbd390
...@@ -44,9 +44,9 @@ if [ "$ACCEL" = "kvm" ]; then ...@@ -44,9 +44,9 @@ if [ "$ACCEL" = "kvm" ]; then
if $qemu $M,\? 2>&1 | grep gic-version > /dev/null; then if $qemu $M,\? 2>&1 | grep gic-version > /dev/null; then
M+=',gic-version=host' M+=',gic-version=host'
fi fi
if [ "$HOST" = "aarch64" ]; then if [ "$HOST" = "aarch64" ] || [ "$HOST" = "arm" ]; then
processor="host" processor="host"
if [ "$ARCH" = "arm" ]; then if [ "$ARCH" = "arm" ] && [ "$HOST" = "aarch64" ]; then
processor+=",aarch64=off" processor+=",aarch64=off"
fi fi
fi fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment