]> git.ipfire.org Git - thirdparty/qemu.git/commit
block: expose crypto option names / defs to other drivers
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 23 Jun 2017 16:24:00 +0000 (17:24 +0100)
committerMax Reitz <mreitz@redhat.com>
Tue, 11 Jul 2017 15:44:55 +0000 (17:44 +0200)
commit306a06e5f766acaf26b71397a5692c65b65a61c7
tree385cb67aa1ad2bbb6396ef84911251798d2621b1
parent29741be341d50e4311e42ca3199f9b0bcfd4f5d2
block: expose crypto option names / defs to other drivers

The block/crypto.c defines a set of QemuOpts that provide
parameters for encryption. This will also be needed by
the qcow/qcow2 integration, so expose the relevant pieces
in a new block/crypto.h header. Some helper methods taking
QemuOpts are changed to take QDict to simplify usage in
other places.

Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20170623162419.26068-2-berrange@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/crypto.c
block/crypto.h [new file with mode: 0644]