[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block: add apparent-size to query-block
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] block: add apparent-size to query-block |
Date: |
Mon, 24 Jun 2013 14:22:01 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 21.06.2013 um 18:18 hat Federico Simoncelli geschrieben:
> This patch adds the apparent-size entry to the query-block output.
> The value represents the apparent size in bytes of the image, e.g.
> file size (including the blocks not yet allocated) or block device
> size.
>
> Signed-off-by: Federico Simoncelli <address@hidden>
Instead of pulling one specific field up from bs->file and giving it a
non-obvious name, we should rather add something generally useful like a
field '*file': 'ImageInfo' that works as an analog to *backing-image,
just that it contains the info for bs->file instead of bs->backing_hd.
Kevin