qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] qapi: Make some ObjectTypes depend on the build settings


From: Thomas Huth
Subject: Re: [PATCH] qapi: Make some ObjectTypes depend on the build settings
Date: Tue, 5 Oct 2021 08:49:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 29/09/2021 13.41, Markus Armbruster wrote:
[...]
In my opinion, use of CONFIG_FOO in QAPI schemata is no worse than using
them in C type definitions.

In both cases, we have a choice: compile out stuff this build doesn't
need with compile-time conditionals, or leave it in unused.

In C, we sometimes have to compile out stuff, say when it depends on
headers we don't have.

In QAPI, we sometimes want to compile out stuff to make introspection
more useful.  This can be a killer argument.

So what's your opinion on this patch here? Good to go? Needs a rework? Or should I simply forget about it?

 Thomas




reply via email to

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