Andreas Färber <afaer...@suse.de> writes: > Am 10.01.2014 10:09, schrieb Markus Armbruster: >> Commands taking a device ID could be extended to take a path in the QOM >> graph instead of an ID. >> >> In the human monitor, it could perhaps work like this: >> >> IDs consist of letters, digits, '-', '.', '_', starting with a >> letter (see id_wellformed()) >> >> If the argument doesn't contain '/', interpret it as ID. >> Else, if it starts with '/', interpret it as QOM path anchored at >> "the root" (which needs to be defined). >> Else, split it at the first '/', and interpret the prefix as ID, and >> the suffix as as QOM path anchored at whatever has that ID. >> >> Requires means to inspect the QOM graph to be usable. > > qom-list is available for that purpose today.
We'd need something in the human monitor, too.