Re: [Qemu-devel] [RFC 1/8] block: add virtual_size to query-block QMP output

2013-03-11 Thread Eric Blake
On 03/09/2013 03:22 PM, Stefan Hajnoczi wrote: > There is currently no way to query the size of a drive. Add a > 'virtual_size' field to the 'query-block' QMP output. > > Signed-off-by: Stefan Hajnoczi > --- > block.c | 1 + > qapi-schema.json | 5 - > 2 files changed, 5 insertions

[Qemu-devel] [RFC 1/8] block: add virtual_size to query-block QMP output

2013-03-09 Thread Stefan Hajnoczi
There is currently no way to query the size of a drive. Add a 'virtual_size' field to the 'query-block' QMP output. Signed-off-by: Stefan Hajnoczi --- block.c | 1 + qapi-schema.json | 5 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/block.c b/block.c index 124a9e