[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] [PULL 20/24] qemu-img.texi: Describe human-readable info ou

From: Kevin Wolf
Subject: [Qemu-block] [PULL 20/24] qemu-img.texi: Describe human-readable info output
Date: Mon, 20 May 2019 18:14:49 +0200

From: Max Reitz <address@hidden>

Ideally, it should be self-explanatory.  However, keys like "disk size"
arguably really are not self-explanatory.  In any case, there is no harm
in going into a some more detail here.

Signed-off-by: Max Reitz <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
 qemu-img.texi | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/qemu-img.texi b/qemu-img.texi
index 39562317ee..e8bc0fd7a2 100644
--- a/qemu-img.texi
+++ b/qemu-img.texi
@@ -428,6 +428,47 @@ The command can output in the format @var{ofmt} which is 
either @code{human} or
 @code{json}.  The JSON output is an object of QAPI type @code{ImageInfo}; with
 @code{--backing-chain}, it is an array of @code{ImageInfo} objects.
address@hidden reports the following information (for every image in the
address@hidden @var
address@hidden image
+The image file name
address@hidden file format
+The image format
address@hidden virtual size
+The size of the guest disk
address@hidden disk size
+How much space the image file occupies on the host file system (may be shown as
+0 if this information is unavailable, e.g. because there is no file system)
address@hidden cluster_size
+Cluster size of the image format, if applicable
address@hidden encrypted
+Whether the image is encrypted (only present if so)
address@hidden cleanly shut down
+This is shown as @code{no} if the image is dirty and will have to be
+auto-repaired the next time it is opened in qemu.
address@hidden backing file
+The backing file name, if present
address@hidden backing file format
+The format of the backing file, if the image enforces it
address@hidden Snapshot list
+A list of all internal snapshots
address@hidden Format specific information
+Further information whose structure depends on the image format.  This section
+is a textual representation of the respective @code{ImageInfoSpecific*} QAPI
+object (e.g. @code{ImageInfoSpecificQCow2} for qcow2 images).
address@hidden table
 @item map [--object @var{objectdef}] [--image-opts] [-f @var{fmt}] 
address@hidden [-U] @var{filename}
 Dump the metadata of image @var{filename} and its backing file chain.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]