target/s390x: improve cpu compatibility check error message
commitff7c98a9415f3d61d026002921dfc836ce232bcf
authorClaudio Fontana <cfontana@suse.de>
Thu, 14 Mar 2024 21:37:46 +0000 (14 22:37 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 18 Mar 2024 16:00:37 +0000 (18 17:00 +0100)
treef904aca423f80a66939a0af19218995d9fe75162
parentb17693453ef4d06f732295c2e70128a7cf20bf30
target/s390x: improve cpu compatibility check error message

some users were confused by this message showing under TCG:

 Selected CPU generation is too new. Maximum supported model
 in the configuration: 'xyz'

Clarify that the maximum can depend on the accel, and add a
hint to try a different one.

Also add a hint for features mismatch to suggest trying
different accel, QEMU and kernel versions.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Message-ID: <20240314213746.27163-1-cfontana@suse.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/cpu_models.c