> -----邮件原件----- > 发件人: Andreas Färber [mailto:afaer...@suse.de] > 发送时间: Monday, January 28, 2013 23:47 > 收件人: qemu-devel@nongnu.org > 抄送: 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 <afaer...@suse.de> > > 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