+++ This bug was initially created as a clone of Bug #861375 +++ qemu-img info currently give me info like this: image: /home/alex/.local/share/gnome-boxes/images/Fedora 16 file format: qcow2 virtual size: 11G (11794287616 bytes) disk size: 4.5G cluster_size: 65536 [...] Note upstream there is a patch floating around which adds JSON output to qemu-img info. This is useful because it's a big security problem to try to parse the text output from this command. See: https://lists.gnu.org/archive/html/qemu-devel/2012-09/msg00137.html
Fixed upstream: https://github.com/libguestfs/libguestfs/commit/2f8960f7844274177185f65a636c9b511980a41e https://github.com/libguestfs/libguestfs/commit/5e5026b730dfea1e940e961a5b7e516a9c9bda72