]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: Inject password-secret only when not using JSON props
authorPeter Krempa <pkrempa@redhat.com>
Thu, 23 Nov 2017 14:37:37 +0000 (15:37 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 23 Nov 2017 17:50:04 +0000 (18:50 +0100)
commit6197d5726b806f626d8c2dd00cccd0d61a14a938
treee1c06c96062780d33360ab143d53d37a539b7bd0
parentf7deea5242372fa5f3cf141a6860e976aa60c19a
qemu: command: Inject password-secret only when not using JSON props

The 'file.password-secret' injection should be used only if we are using
the old formatter. When formatting the source string from the JSON
properties, the property should be added there.

Also drop the comment which refers to stuff that will not be used in
libvirt since -blockdev is the way to go.
src/qemu/qemu_command.c