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: Thu, 08 Aug 2024 10:53:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Markus Armbruster <armbru@redhat.com> writes:

> 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.

I'm willing to give this a try after my vacation.  You may have to
remind me...

[...]




reply via email to

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