On 07/26/2017 05:00 AM, Peter Krempa wrote:
---
.../qemumonitorjson-nodename-luks-blockstats.json | 58 +++++++++++
.../qemumonitorjson-nodename-luks-named-nodes.json | 109 +++++++++++++++++++++
.../qemumonitorjson-nodename-luks.result | 6 ++
tests/qemumonitorjsontest.c | 1 +
4 files changed, 174 insertions(+)
create mode 100644
tests/qemumonitorjsondata/qemumonitorjson-nodename-luks-blockstats.json
create mode 100644
tests/qemumonitorjsondata/qemumonitorjson-nodename-luks-named-nodes.json
create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-nodename-luks.result
+++
b/tests/qemumonitorjsondata/qemumonitorjson-nodename-luks-named-nodes.json
@@ -0,0 +1,109 @@
+[
+ {
+ "iops_rd": 0,
+ "detect_zeroes": "off",
+ "image": {
+ "virtual-size": 10485760,
+ "filename": "json:{\"driver\": \"luks\",
\"file\": {\"driver\": \"file\", \"filename\":
\"/var/lib/libvirt/images/luks\"}, \"key-secret\":
\"virtio-disk0-luks-secret0\"}",
What a fun name.
Reviewed-by: Eric Blake <eblake(a)redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization:
qemu.org |
libvirt.org