qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1] target/s390x: move @deprecated-props to CpuModelExpansion


From: Collin Walling
Subject: Re: [PATCH v1] target/s390x: move @deprecated-props to CpuModelExpansion Info
Date: Mon, 29 Jul 2024 10:49:39 -0400
User-agent: Mozilla Thunderbird

On 7/29/24 10:36 AM, Markus Armbruster wrote:
> David Hildenbrand <david@redhat.com> writes:
> 
>>>>> The simplest way to address 4 is to tack 'if': 'TARGET_S390X' to
>>>>> @deprecated-props.
>>>>>
>>>>
>>>> diff --git a/qapi/machine-target.json b/qapi/machine-target.json
>>>> index 09dec2b9bb..0be95d559c 100644
>>>> --- a/qapi/machine-target.json
>>>> +++ b/qapi/machine-target.json
>>>> @@ -253,7 +253,7 @@
>>>>    ##
>>>>    { 'struct': 'CpuModelExpansionInfo',
>>>>      'data': { 'model': 'CpuModelInfo',
>>>> -            '*deprecated-props': ['str'] },
>>>> +            '*deprecated-props' : { 'type': ['str'], 'if': 'TARGET_S390X' 
>>>> } },
>>>>      'if': { 'any': [ 'TARGET_S390X',
>>>>                       'TARGET_I386',
>>>>                       'TARGET_ARM',
>>>>
>>>>
>>>> Should do the trick, right?
>>>
>>> Yes.  Break the line before 'if', please.
>>
>> Ack
>>
>> [...]
>>
>>>
>>> Questions?
>>
>> As clear as it can get, thanks! :)
>>
>> That would leave us with:
> 
> Looks good to me!
> 
> 

Fine by me as well.  Thanks you both for taking care of this.

-- 
Regards,
  Collin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]