[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V4 1/2] qapi: Add SnapshotInfo and ImageInfo.
From: |
Benoît Canet |
Subject: |
Re: [Qemu-devel] [PATCH V4 1/2] qapi: Add SnapshotInfo and ImageInfo. |
Date: |
Thu, 23 Aug 2012 09:34:40 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
> > +##
> > +# @ImageInfo:
> > +#
> > +# Information about a QEMU image file
> > +#
> > +# @filename: name of the image file
> > +#
> > +# @format: format of the image file
> > +#
> > +# @virtual-size: maximum capacity in bytes of the image
> > +#
> > +# @actual-size: #optional actual size on disk in bytes of the image
>
> That seems backwards - with a raw file, don't you know the actual size,
> but have no idea what it can further grow to?
Try the current qemy-img info on a raw file you will be surprised of the
results.
This field also can have an "unavailable" value.
example result with unpatched qemu-img:
address@hidden:~/qemu$ qemu-img info truc1.raw
image: truc1.raw
file format: raw
virtual size: 1.0G (1073741824 bytes)
disk size: 776M
disk size is actual-size.
Benoît
[Qemu-devel] [PATCH V4 2/2] qemu-img: Add json output option to the info command., Benoît Canet, 2012/08/22