Daniel P. Berrangé <berra...@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?