Re: [kvm-unit-tests PATCH v2 2/3] arm/run: ensure we use processor=host for kvm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 18, 2017 at 05:02:07PM +0100, Alex Bennée wrote:
> 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: Alex Bennée <alex.bennee@xxxxxxxxxx>
> ---
>  arm/run | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arm/run b/arm/run
> index 700205b..f73593b 100755
> --- a/arm/run
> +++ b/arm/run
> @@ -44,9 +44,9 @@ if [ "$ACCEL" = "kvm" ]; then
>  	if $qemu $M,\? 2>&1 | grep gic-version > /dev/null; then
>  		M+=',gic-version=host'
>  	fi
> -	if [ "$HOST" = "aarch64" ]; then
> +	if [ "$HOST" = "aarch64" ] || [ "$HOST" = "arm" ]; then
>  		processor="host"
> -		if [ "$ARCH" = "arm" ]; then
> +		if [ "$ARCH" = "arm" ] && [ "$HOST" = "aarch64" ]; then
>  			processor+=",aarch64=off"
>  		fi
>  	fi
> -- 
> 2.13.0
>
 
Reviewed-by: Andrew Jones <drjones@xxxxxxxxxx>



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux