On 10/06/19 18:12, Andreas Färber wrote: > 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.
Yes, but you can start QEMU with -M none and just invoke QOM introspection commands. > 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? Nope. Paolo