Re: [PATCH 30/30] qemu: Pass through arguments of 'ssh' block driver used by libguestfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On a Monday in 2020, Peter Krempa wrote:
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@xxxxxxxxxx>
---
src/qemu/qemu_block.c                              | 10 ++++++++++
src/util/virstoragefile.c                          | 13 +++++++++++++
src/util/virstoragefile.h                          |  5 +++++
tests/qemublocktest.c                              |  1 +
.../jsontojson/ssh-passthrough-libguestfs-in.json  |  1 +
.../jsontojson/ssh-passthrough-libguestfs-out.json | 14 ++++++++++++++
6 files changed, 44 insertions(+)
create mode 100644 tests/qemublocktestdata/jsontojson/ssh-passthrough-libguestfs-in.json
create mode 100644 tests/qemublocktestdata/jsontojson/ssh-passthrough-libguestfs-out.json


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux