]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: domain: Store data for 'secret' object representing http cookies
authorPeter Krempa <pkrempa@redhat.com>
Mon, 9 Mar 2020 07:19:02 +0000 (08:19 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 Mar 2020 14:51:44 +0000 (15:51 +0100)
commit4e8faa5cdc54ce637f760ad4513753e17d2b9a4f
treec1541088a34b6b28648d067620d11b4b801672cc
parent304da9376c972413d77cc6c7f094a1b39d651ea8
qemu: domain: Store data for 'secret' object representing http cookies

The http cookies can have potentially sensitive values and thus should
not be leaked into the command line. This means that we'll need to
instantiate a 'secret' object in qemu to pass the value encrypted.

This patch adds infrastructure for storing of the alias in the status
XML.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
tests/qemustatusxml2xmldata/modern-in.xml