Re: [Qemu-devel] [PATCH 2/6] block: Add optional device argument to query-block

2014-09-18 Thread Markus Armbruster
Kevin Wolf writes: > This allows querying one specific BlockDriverState instead of a list of > all drives. I've long resisted optional arguments to limit list-valued queries, because I believe the additional interface complexity isn't worth the additional utility. But resistance might be futile

[Qemu-devel] [PATCH 2/6] block: Add optional device argument to query-block

2014-09-16 Thread Kevin Wolf
This allows querying one specific BlockDriverState instead of a list of all drives. Signed-off-by: Kevin Wolf --- block/qapi.c | 15 +-- hmp.c| 6 +++--- qapi/block-core.json | 8 ++-- 3 files changed, 22 insertions(+), 7 deletions(-) diff --git a/block