summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorLee Yarwood <lyarwood@redhat.com>2020-02-10 15:10:36 +0000
committerLee Yarwood <lyarwood@redhat.com>2020-02-14 12:38:33 +0000
commit2180db82b605cf84902ee379fffc0b34e17e92c7 (patch)
treeef291674e2f006f62bb158fbc87746894d56d066 /releasenotes
parentd3d117112e26e25bf81b0be3a8df26e6cf191b0e (diff)
downloadoslo-utils-2180db82b605cf84902ee379fffc0b34e17e92c7.tar.gz
imageutils: Report format specific details when using JSON output format
The data held within this section is particularly useful when dealing with encrypted LUKSv1, as shown below: $ qemu-img info --output=json rbd:volumes/volume { [..] "format-specific": { "type": "luks", "data": { "ivgen-alg": "plain64", "hash-alg": "sha256", "cipher-alg": "aes-256", "uuid": "de946b24-f318-4fa6-aacf-c5e97db04609", "cipher-mode": "xts", "slots": [ { "active": true, "iters": 1966316, "key-offset": 4096, "stripes": 4000 }, { "active": false, "key-offset": 262144 }, { "active": false, "key-offset": 520192 }, { "active": false, "key-offset": 778240 }, { "active": false, "key-offset": 1036288 }, { "active": false, "key-offset": 1294336 }, { "active": false, "key-offset": 1552384 }, { "active": false, "key-offset": 1810432 } ], "payload-offset": 2068480, "master-key-iters": 479636 } }, } Unfortunately the only documentation for this is in the QEMU codebase at present, for example for LUKSv1: https://github.com/qemu/qemu/blob/d8d5fefd8657d4f7b380b3a1533340434b5b9def/qapi/crypto.json#L272-L298 Related-Bug: #1861071 Change-Id: I133da07a5a9628b8a9338556939c858afae679f4
Diffstat (limited to 'releasenotes')
0 files changed, 0 insertions, 0 deletions