Re: [PATCH 4/6] qapi: Apply aliases in qobject-input-visitor

2021-02-09 Thread Markus Armbruster
Kevin Wolf writes: > When looking for an object in a struct in the external representation, > check not only the currently visited struct, but also whether an alias > in the current StackObject matches and try to fetch the value from the > alias then. Providing two values for the same object thro

[PATCH 4/6] qapi: Apply aliases in qobject-input-visitor

2020-11-12 Thread Kevin Wolf
When looking for an object in a struct in the external representation, check not only the currently visited struct, but also whether an alias in the current StackObject matches and try to fetch the value from the alias then. Providing two values for the same object through different aliases is an e