On Wed, Nov 18, 2020 at 02:08:21PM +0100, Markus Armbruster wrote: > Paolo Bonzini <pbonz...@redhat.com> writes: > > On 18/11/20 09:36, Markus Armbruster wrote: > >> While figuring this out, I noticed that the TYPE_ACCEL instance we > >> create doesn't get its parent set. It's therefore not in the QOM > >> composition tree, and inaccessible with qom-get. Paolo, is this as it > >> should be? > > > > It should be added, I agree, perhaps as /machine/accel. > > Makes sense. >
I also tried to find it there when traversed QOM :) So, I'll then add it instead of ad-hoc queries in v2? That'd allow us to use standard QOM queries to determine all built-in accelerators and query actually enabled one. Thanks, Roman