Re: [PATCH] qom/object: enable setter for uint types

2019-11-25 Thread Felipe Franciosi
> On Nov 19, 2019, at 10:06 AM, Stefan Hajnoczi wrote: > > On Sun, Nov 17, 2019 at 03:50:32PM +, Felipe Franciosi wrote: >> Traditionally, the uint-specific property helpers only offer getters. >> When adding object (or class) uint types, one must therefore use the >> generic property helpe

Re: [PATCH] qom/object: enable setter for uint types

2019-11-19 Thread Stefan Hajnoczi
On Sun, Nov 17, 2019 at 03:50:32PM +, Felipe Franciosi wrote: > Traditionally, the uint-specific property helpers only offer getters. > When adding object (or class) uint types, one must therefore use the > generic property helper if a setter is needed. > > This enhances the uint-specific prop

[PATCH] qom/object: enable setter for uint types

2019-11-17 Thread Felipe Franciosi
Traditionally, the uint-specific property helpers only offer getters. When adding object (or class) uint types, one must therefore use the generic property helper if a setter is needed. This enhances the uint-specific property helper APIs by adding a 'readonly' field and modifying all users of tha