On 07/05/2016 08:57 AM, Max Reitz wrote: >> I'm not sure yet what the conclusion is. Change query-block to include >> anonymous BBs that are owned by devices? A new query command? Add the >> information to info qtree and whatever the QMP version of it is (if it >> even exists)? > > Well, since you are basically trying to purge the BB from the user's > field of view, it would probably make sense to display all the BB-level > information (like the writethrough mode) as part of the device > information; that is, probably in info qtree. That information should > then probably also include the node name of the root BDS, and the > user/management application can find out all about that with > query-named-block-nodes (although it'd probably makes sense to add a > query-block-node command for a single node).
Or teach query-named-block-nodes to take an optional parameter for filtering the results to a single node (either way is introspectible, so I don't have a strong opinion which is nicer) -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature