aboutgitcodebugslistschat
path: root/tap.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-05-10 12:38:50 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-05-10 12:38:50 +0200
commit6f89dc3650847e970dd9d0d5c986793e22b73a00 (patch)
tree7b110d3cf5374a5cc68274ec31eea12c9f1978dd /tap.c
parentc8581f3710335ae6be68909c1c8307aa66990428 (diff)
downloadpasst-6f89dc3650847e970dd9d0d5c986793e22b73a00.tar
passt-6f89dc3650847e970dd9d0d5c986793e22b73a00.tar.gz
passt-6f89dc3650847e970dd9d0d5c986793e22b73a00.tar.bz2
passt-6f89dc3650847e970dd9d0d5c986793e22b73a00.tar.lz
passt-6f89dc3650847e970dd9d0d5c986793e22b73a00.tar.xz
passt-6f89dc3650847e970dd9d0d5c986793e22b73a00.tar.zst
passt-6f89dc3650847e970dd9d0d5c986793e22b73a00.zip
qrap: Find qemu command if not passed, patch command line
It might be impractical to pass options to qrap when using libvirt, because the <emulator/> tag expects a path to an executable, without further arguments. If the first argument is not a plausible socket number, and the second argument is not a valid executable, look up a qemu command from a list of possible names, then start it patching the command line to include the -netdev fd= parameter corresponding to the AF_UNIX domain socket we just opened. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tap.c')
0 files changed, 0 insertions, 0 deletions