]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Pass through arguments of 'ssh' block driver used by libguestfs
authorPeter Krempa <pkrempa@redhat.com>
Mon, 9 Mar 2020 14:05:58 +0000 (15:05 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 Mar 2020 14:51:44 +0000 (15:51 +0100)
commitd6db013c6e507fe45ebc07fa109e608cf7451b22
tree3e0555f90d6e209c6a7edb20099cdb8cc9cf4d79
parentd089234110282069e9a6dfe879ca257d114bb5bd
qemu: Pass through arguments of 'ssh' block driver used by libguestfs

We currently don't model the 'ssh' protocol properties properly and
since it seems impossible for now (agent path passed via environment
variable). To allow libguestfs to work as it used in pre-blockdev era we
must carry the properties over to the command line. For this instance we
just store it internally and format it back.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_block.c
src/util/virstoragefile.c
src/util/virstoragefile.h
tests/qemublocktest.c
tests/qemublocktestdata/jsontojson/ssh-passthrough-libguestfs-in.json [new file with mode: 0644]
tests/qemublocktestdata/jsontojson/ssh-passthrough-libguestfs-out.json [new file with mode: 0644]