qemu-s390x
[Top][All Lists]
Advanced

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

Re: [PATCH v6 07/11] hw/core/qdev: update hotplug reset regarding resett


From: Damien Hedde
Subject: Re: [PATCH v6 07/11] hw/core/qdev: update hotplug reset regarding resettable
Date: Mon, 13 Jan 2020 17:51:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0


On 12/29/19 12:58 AM, Richard Henderson wrote:
> On 12/20/19 10:50 PM, Damien Hedde wrote:
>> +void resettable_state_clear(ResettableState *state)
>> +{
>> +    memset(state, 0, sizeof(ResettableState));
>> +}
> 
> Worth moving this into the header as inline?  Anyway,

I can but it is really not a function which matters a lot since it is
only called during realize. I hesitated not to add the function since it
is used at only one place.

I'm not sure what's bets in that case.

Damien



reply via email to

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