[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] 答复: [PATCH qom-cpu for-1. 4] target-unicore32: Rename CPU
From: |
Guan Xuetao |
Subject: |
[Qemu-devel] 答复: [PATCH qom-cpu for-1. 4] target-unicore32: Rename CPU subtypes |
Date: |
Tue, 29 Jan 2013 17:25:49 +0800 |
> -----邮件原件-----
> 发件人: Andreas Färber [mailto:address@hidden
> 发送时间: Monday, January 28, 2013 23:47
> 收件人: address@hidden
> 抄送: Guan Xuetao
> 主题: Re: [Qemu-devel] [PATCH qom-cpu for-1.4] target-unicore32: Rename
> CPU subtypes
>
> Am 27.01.2013 23:50, schrieb Andreas Färber:
> > In the initial conversion of CPU models to QOM types, model names were
> > mapped 1:1 to type names. As a side effect this gained us a type
> > "any", which is now a device.
> >
> > To avoid "-device any" silliness and to pave the way for compiling
> > multiple targets into one executable, adopt a <name>-<arch>-cpu scheme.
> >
> > No functional changes for -cpu arguments.
> >
> > Signed-off-by: Andreas Färber <address@hidden>
>
> Patch breaks linux-user due to forgetting to update cpu_model_str.
> I'll double-check the other targets.
>
> Andreas
After this patch was applied, I saw the following error when running:
qemu: hardware error: Unable to find CPU definition
Thanks
Guan Xuetao
>
> --
> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg