Re: [PATCH 23/24] tests: qemumonitorjson: Test extraction of LUKS node names

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

 



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@xxxxxxxxxx>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux