target/s390x: use "qemu" cpu model in user mode

"any" does not exist, therefore resulting in a misleading error message.

Reported-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170130145025.26475-1-david@redhat.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Alexander Graf <agraf@suse.de>
Cc: qemu-stable@nongnu.org
This commit is contained in:
David Hildenbrand 2017-01-30 15:50:25 +01:00 committed by Christian Borntraeger
parent 1a0e4c8b02
commit d8923bc754

View File

@ -4322,6 +4322,8 @@ int main(int argc, char **argv, char **envp)
# endif # endif
#elif defined TARGET_SH4 #elif defined TARGET_SH4
cpu_model = TYPE_SH7785_CPU; cpu_model = TYPE_SH7785_CPU;
#elif defined TARGET_S390X
cpu_model = "qemu";
#else #else
cpu_model = "any"; cpu_model = "any";
#endif #endif