Re: [Qemu-devel] [PATCH 3/5] linux-user: Use lookup_cpu_class()

2019-04-17 Thread Eduardo Habkost
On Tue, Apr 16, 2019 at 11:59:42PM -0300, Eduardo Habkost wrote: > The return value of cpu_get_model() is just a CPU model name and > never includes extra options. We don't need to call > parse_cpu_option(). Oops. I was wrong. linux-user also supports extra features in the "-cpu" option, so we

Re: [Qemu-devel] [PATCH 3/5] linux-user: Use lookup_cpu_class()

2019-04-16 Thread David Gibson
On Tue, Apr 16, 2019 at 11:59:42PM -0300, Eduardo Habkost wrote: > The return value of cpu_get_model() is just a CPU model name and > never includes extra options. We don't need to call > parse_cpu_option(). > > Signed-off-by: Eduardo Habkost Reviewed-by: David Gibson > --- > linux-user/main

[Qemu-devel] [PATCH 3/5] linux-user: Use lookup_cpu_class()

2019-04-16 Thread Eduardo Habkost
The return value of cpu_get_model() is just a CPU model name and never includes extra options. We don't need to call parse_cpu_option(). Signed-off-by: Eduardo Habkost --- linux-user/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/linux-user/main.c b/linux-user/mai