[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [RFC PATCH v4] powerpc: add PVR mask support
From: |
Andreas Färber |
Subject: |
Re: [Qemu-ppc] [RFC PATCH v4] powerpc: add PVR mask support |
Date: |
Wed, 28 Aug 2013 12:34:30 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
Am 28.08.2013 12:31, schrieb Alexey Kardashevskiy:
> On 08/27/2013 12:32 AM, Andreas Färber wrote:
>> Am 26.08.2013 15:04, schrieb Alexander Graf:
>>>
>>> On 19.08.2013, at 06:06, Alexey Kardashevskiy wrote:
>>>
>>>> diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
>>>> index 13b290c..dfe398d 100644
>>>> --- a/target-ppc/translate_init.c
>>>> +++ b/target-ppc/translate_init.c
>>>> @@ -3104,7 +3104,6 @@ static int check_pow_hid0_74xx (CPUPPCState *env)
>>>> glue(glue(ppc_, _name), _cpu_family_type_info) = {
>>>> \
>>>> .name = stringify(_name) "-family-" TYPE_POWERPC_CPU,
>>>> \
>>>> .parent = TYPE_POWERPC_CPU,
>>>> \
>>>> - .abstract = true,
>>>> \
>>>> .class_init = glue(glue(ppc_, _name), _cpu_family_class_init),
>>>> \
>>>> };
>>>> \
>>>>
>>>> \
>>
>> This should no longer be necessary (once the fuzzy search is implemented
>> in KVM host type registration code path) and trivially solves the -cpu ?
>> / QMP aspect Alex mentioned above.
>
>
> I do not really understand this part. Will we still need/want
> .abstract==true?
No, we don't need/want it since the host CPU type is non-abstract
already and can inherit from abstract types without problem.
Andreas
> I'll post yet another version of my patch in next 3
> minutes, there I skip PPC CPU classes which parent is TYPE_POWERPC_CPU,
> pretty trivial already :)
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
- Re: [Qemu-ppc] [RFC PATCH v3] powerpc: add PVR mask support, (continued)
- Re: [Qemu-ppc] [Qemu-devel] [RFC PATCH v3] powerpc: add PVR mask support, Andreas Färber, 2013/08/19
- Re: [Qemu-ppc] [RFC PATCH v3] powerpc: add PVR mask support, Alexey Kardashevskiy, 2013/08/16
- [Qemu-ppc] [RFC PATCH v4] powerpc: add PVR mask support, Alexey Kardashevskiy, 2013/08/19
- Re: [Qemu-ppc] [RFC PATCH v4] powerpc: add PVR mask support, Alexander Graf, 2013/08/26
- Re: [Qemu-ppc] [RFC PATCH v4] powerpc: add PVR mask support, Andreas Färber, 2013/08/26
- Re: [Qemu-ppc] [RFC PATCH v4] powerpc: add PVR mask support, Alexey Kardashevskiy, 2013/08/28
- Re: [Qemu-ppc] [RFC PATCH v4] powerpc: add PVR mask support,
Andreas Färber <=
- Re: [Qemu-ppc] [RFC PATCH v3] powerpc: add PVR mask support, Alexey Kardashevskiy, 2013/08/15
- Re: [Qemu-ppc] [RFC PATCH v3] powerpc: add PVR mask support, Alexander Graf, 2013/08/15