[PATCH 4/4] qom/object: Use common get/set uint helpers

2020-02-03 Thread Felipe Franciosi
Several objects implemented their own uint property getters and setters, despite them being straightforward (without any checks/validations on the values themselves) and identical across objects. This makes use of an enhanced API for object_property_add_uintXX_ptr() which offers default setters. S

Re: [PATCH 4/4] qom/object: Use common get/set uint helpers

2019-11-28 Thread Felipe Franciosi
> On Nov 27, 2019, at 11:58 PM, Alexey Kardashevskiy wrote: > > > > On 26/11/2019 20:39, Felipe Franciosi wrote: >> >> >>> On Nov 26, 2019, at 8:39 AM, Marc-André Lureau >>> wrote: >>> >>> Hi >> >> Heya, thanks for the review. >> >>> >>> On Mon, Nov 25, 2019 at 7:37 PM Felipe Francios

Re: [PATCH 4/4] qom/object: Use common get/set uint helpers

2019-11-27 Thread Alexey Kardashevskiy
On 26/11/2019 20:39, Felipe Franciosi wrote: > > >> On Nov 26, 2019, at 8:39 AM, Marc-André Lureau >> wrote: >> >> Hi > > Heya, thanks for the review. > >> >> On Mon, Nov 25, 2019 at 7:37 PM Felipe Franciosi wrote: >>> >>> Several objects implemented their own uint property getters and se

Re: [PATCH 4/4] qom/object: Use common get/set uint helpers

2019-11-26 Thread Felipe Franciosi
> On Nov 26, 2019, at 8:39 AM, Marc-André Lureau > wrote: > > Hi Heya, thanks for the review. > > On Mon, Nov 25, 2019 at 7:37 PM Felipe Franciosi wrote: >> >> Several objects implemented their own uint property getters and setters, >> despite them being straightforward (without any check

Re: [PATCH 4/4] qom/object: Use common get/set uint helpers

2019-11-26 Thread Marc-André Lureau
Hi On Mon, Nov 25, 2019 at 7:37 PM Felipe Franciosi wrote: > > Several objects implemented their own uint property getters and setters, > despite them being straightforward (without any checks/validations on > the values themselves) and identical across objects. This makes use of > an enhanced AP

[PATCH 4/4] qom/object: Use common get/set uint helpers

2019-11-25 Thread Felipe Franciosi
Several objects implemented their own uint property getters and setters, despite them being straightforward (without any checks/validations on the values themselves) and identical across objects. This makes use of an enhanced API for object_property_add_uintXX_ptr() which offers default setters. S