[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-1.4 v2] target-unicore32: Rename CPU subtype
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH for-1.4 v2] target-unicore32: Rename CPU subtypes |
Date: |
Fri, 01 Feb 2013 00:43:15 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2 |
Am 31.01.2013 19:09, schrieb Andreas Färber:
> Am 29.01.2013 23:27, 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>
>> ---
>> v1 -> v2:
>> * Update env->cpu_model_str to cpu_model rather than the changing
>> object_get_typename(). Fixes cpu_copy() used by linux-user.
>
> Ping? I do not see an assertion with this patch and would like to
> include it in the [pull] for 1.4 tonight if you don't object.
Applied to qom-cpu:
https://github.com/afaerber/qemu-cpu/commits/qom-cpu
Andreas
>
> Thanks,
> Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg