> > +## > > +# @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: benoit@Laure:~/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