Re: [PATCH v2 1/3] qdev-properties: Accept bool for OnOffAuto

2024-11-06 Thread Akihiko Odaki
On 2024/11/01 20:41, Daniel P. Berrangé wrote: On Thu, Oct 31, 2024 at 04:21:08PM +0900, Akihiko Odaki wrote: On 2024/10/29 1:49, Daniel P. Berrangé wrote: The parent msg was sent off-list orignially, so below is a copy of my feedback to that off-list posting. On Tue, Oct 22, 2024 at 01:50:38P

Re: [PATCH v2 1/3] qdev-properties: Accept bool for OnOffAuto

2024-11-01 Thread Daniel P . Berrangé
On Thu, Oct 31, 2024 at 04:21:08PM +0900, Akihiko Odaki wrote: > On 2024/10/29 1:49, Daniel P. Berrangé wrote: > > The parent msg was sent off-list orignially, so below is a copy > > of my feedback to that off-list posting. > > > > On Tue, Oct 22, 2024 at 01:50:38PM +0900, Akihiko Odaki wrote: > >

Re: [PATCH v2 1/3] qdev-properties: Accept bool for OnOffAuto

2024-10-31 Thread Akihiko Odaki
On 2024/10/29 1:49, Daniel P. Berrangé wrote: The parent msg was sent off-list orignially, so below is a copy of my feedback to that off-list posting. On Tue, Oct 22, 2024 at 01:50:38PM +0900, Akihiko Odaki wrote: Accept bool literals for OnOffAuto properties for consistency with bool propertie

Re: [PATCH v2 1/3] qdev-properties: Accept bool for OnOffAuto

2024-10-28 Thread Daniel P . Berrangé
The parent msg was sent off-list orignially, so below is a copy of my feedback to that off-list posting. On Tue, Oct 22, 2024 at 01:50:38PM +0900, Akihiko Odaki wrote: > Accept bool literals for OnOffAuto properties for consistency with bool > properties. This enables users to set the "on" or "off

[PATCH v2 1/3] qdev-properties: Accept bool for OnOffAuto

2024-10-21 Thread Akihiko Odaki
Accept bool literals for OnOffAuto properties for consistency with bool properties. This enables users to set the "on" or "off" value in a uniform syntax without knowing whether the "auto" value is accepted. This behavior is especially useful when converting an existing bool property to OnOffAuto o