qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] target/s390x: use "qemu" cpu model in user mode


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH] target/s390x: use "qemu" cpu model in user mode
Date: Mon, 30 Jan 2017 15:51:50 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

On 01/30/2017 03:50 PM, David Hildenbrand wrote:
"any" does not exist, therefore resulting in a misleading error message.

Reported-by: Stefan Weil <address@hidden>
Signed-off-by: David Hildenbrand <address@hidden>

I think we support more instructions in user space than in kernel space, but for now this change is good as it definitely unbreaks user emulation.

Reviewed-by: Alexander Graf <address@hidden>


Alex

---
  linux-user/main.c | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/linux-user/main.c b/linux-user/main.c
index 3004958..e588f58 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -4322,6 +4322,8 @@ int main(int argc, char **argv, char **envp)
  # endif
  #elif defined TARGET_SH4
          cpu_model = TYPE_SH7785_CPU;
+#elif defined TARGET_S390X
+        cpu_model = "qemu";
  #else
          cpu_model = "any";
  #endif





reply via email to

[Prev in Thread] Current Thread [Next in Thread]