qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH] qapi: Generate QAPI files using qapi/ for generated head


From: Markus Armbruster
Subject: Re: [RFC PATCH] qapi: Generate QAPI files using qapi/ for generated header paths
Date: Wed, 07 Aug 2024 12:50:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Daniel P. Berrangé <berrange@redhat.com> writes:

> On Wed, Aug 07, 2024 at 11:34:06AM +0200, Philippe Mathieu-Daudé wrote:
>> QAPI script generates headers under the qapi/ directory,
>> so use this prefix in generated header paths, keeping
>> all QAPI under the qapi/ namespace.
>
> Err that's not always the case is it ?

Yup.  We generate into the current directory by default, but you can set
another one with --output-dir.

> For the main QMP schema, it generates under $BUILDDIR/qapi/,
> but there are other schemas such as QGA, which is generated
> under $BUILDDIR/qga/

I think we could prepend the argument of --output-dir instead.

> It is confusing that we have both shared stuff and QMP schema
> only stuff under the same location.

Which stuff in which location?




reply via email to

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