Re: [PATCH 2/5] qom/object.c: introduce OBJECT_PROPERTY_SCALAR_SETTER(type) macro

Daniel P. Berrangé <[email protected]>
Newsgroups org.nongnu.qemu-riscv,org.nongnu.qemu-devel
Message-ID <[email protected]>
On Fri, Jul 17, 2026 at 12:19:09PM +0100, Mark Cave-Ayland wrote:
> This macro can be used to generate the boilerplate property_set_type_ptr()
> QOM set function for the specified scalar type. Replace the existing scaler set
> functions with the new macro.
> 
> Signed-off-by: Mark Cave-Ayland <[email protected]>
> ---
>  qom/object.c | 72 ++++++++++++++++------------------------------------
>  1 file changed, 22 insertions(+), 50 deletions(-)

Reviewed-by: Daniel P. Berrangé <[email protected]>


With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.