[kvm-unit-tests PATCH v5 06/29] powerpc: Quiet QEMU TCG pseries capability warnings

Thomas Huth thuth at redhat.com
Tue Dec 19 16:55:45 AEDT 2023


On 16/12/2023 14.42, Nicholas Piggin wrote:
> Quieten this console spam.
> 
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> ---
>   powerpc/run | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/powerpc/run b/powerpc/run
> index b353169f..e469f1eb 100755
> --- a/powerpc/run
> +++ b/powerpc/run
> @@ -21,6 +21,11 @@ fi
>   
>   M='-machine pseries'
>   M+=",accel=$ACCEL$ACCEL_PROPS"
> +
> +if [[ "$ACCEL" == "tcg" ]] ; then
> +	M+=",cap-cfpc=broken,cap-sbbc=broken,cap-ibs=broken,cap-ccf-assist=off"
> +fi

This also bugs me when I run QEMU with TCG manually and IMHO it should be 
fixed in QEMU instead (e.g. by providing a different CPU model for TCG mode).
Anyway, for the time being:

Reviewed-by: Thomas Huth <thuth at redhat.com>



More information about the Linuxppc-dev mailing list