Patchwork [V5,3/4] qmp: Add backing-file-depth to qmp-commands.hx

login
register
mail settings
Submitter Benoit Canet
Date July 26, 2012, 1:18 p.m.
Message ID <1343308701-29632-4-git-send-email-benoit@irqsave.net>
Download mbox | patch
Permalink /patch/173428/
State New
Headers show

Comments

Benoit Canet - July 26, 2012, 1:18 p.m.
From: BenoƮt Canet <benoit@irqsave.net>

Signed-off-by: Benoit Canet <benoit@irqsave.net>
---
 qmp-commands.hx |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/qmp-commands.hx b/qmp-commands.hx
index e3cf3c5..5de3adf 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -1317,6 +1317,7 @@  Each json-object contain the following:
                                 "nbd", "parallels", "qcow", "qcow2", "raw",
                                 "tftp", "vdi", "vmdk", "vpc", "vvfat"
          - "backing_file": backing file name (json-string, optional)
+         - "backing-file-depth": number of files in the backing file chain (json-int)
          - "encrypted": true if encrypted, false otherwise (json-bool)
          - "bps": limit total bytes per second (json-int)
          - "bps_rd": limit read bytes per second (json-int)
@@ -1345,6 +1346,7 @@  Example:
                "drv":"qcow2",
                "encrypted":false,
                "file":"disks/test.img",
+               "backing-file-depth":0,
                "bps":1000000,
                "bps_rd":0,
                "bps_wr":0,