Skip to content
Snippets Groups Projects
Commit 776b97d3 authored by Xiaoqiang Zhao's avatar Xiaoqiang Zhao Committed by Daniel P. Berrangé
Browse files

qemu-sockets: add abstract UNIX domain socket support


unix_listen/connect_saddr now support abstract address types

two aditional BOOL switches are introduced:
tight: whether to set @addrlen to the minimal string length,
       or the maximum sun_path length. default is TRUE
abstract: whether we use abstract address. default is FALSE

cli example:
-monitor unix:/tmp/unix.socket,abstract,tight=off
OR
-chardev socket,path=/tmp/unix.socket,id=unix1,abstract,tight=on

Signed-off-by: default avatarxiaoqiang zhao <zxq_yx_007@163.com>
Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
parent f2465433
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment