Am 10.06.19 um 15:52 schrieb Paolo Bonzini: > On 10/06/19 15:28, Andreas Färber wrote: >> So if we want a new QMP operation, the most sense would probably make >> where-can-I-attach-type(foo) returning a list of QOM paths, showing only >> the first free slot per bus. That would allow a more efficient lookup >> implementation inside QEMU than needing to check each slot[n] property >> via qom-get after discovering it with qom-list. > > Note that what Natalia is seeking is an introspection mechanism to be > used _before_ creating a virtual machine though.
QMP implied creating a virtual machine though. This then goes back to the long-discussed topic of not doing recursive realized=true when starting halted with -s but deferring that to the cont operation. I doubt that's been implemented in the meantime? Cheers, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 21284 (AG Nürnberg)