[libvirt] [PATCH v3 4/5] qemu: Remove need for qemuBuildSecretInfoProps

Peter Krempa pkrempa at redhat.com
Mon Jun 6 07:26:00 UTC 2016


On Fri, Jun 03, 2016 at 06:52:52 -0400, John Ferlan wrote:
> Just move the code into qemuBuildObjectSecretCommandLine.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/qemu/qemu_command.c | 57 +++++++++++--------------------------------------
>  1 file changed, 12 insertions(+), 45 deletions(-)

Again. If this is going to be reused in the monitor then it doesn't make
sense to move it to the builder directly. If it's not going to be used
with the monitor then it doesn't make sense to use the json parser and
the object formatter to achieve the same at all since it's rather
untrivial code that can be achieved with a single printf.

Peter




More information about the libvir-list mailing list