diff options
author | Marc-André Lureau | 2021-07-21 14:55:53 +0200 |
---|---|---|
committer | Marc-André Lureau | 2021-08-04 21:23:31 +0200 |
commit | 30f80be34ba6142dc7ba2015b98d661a9529b7c5 (patch) | |
tree | bc75e79a8ed176fc45cff0ad67d51851864aecf1 /chardev | |
parent | util: fix abstract socket path copy (diff) | |
download | qemu-30f80be34ba6142dc7ba2015b98d661a9529b7c5.tar.gz qemu-30f80be34ba6142dc7ba2015b98d661a9529b7c5.tar.xz qemu-30f80be34ba6142dc7ba2015b98d661a9529b7c5.zip |
chardev/socket: print a more correct command-line address
Better reflect the command line version of the socket address arguments,
following the now recommended long-form opt=on syntax.
Complement/fixes commit 9d902d51 "chardev: do not use short form boolean
options in non-QemuOpts character device descriptions".
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'chardev')
-rw-r--r-- | chardev/char-socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chardev/char-socket.c b/chardev/char-socket.c index d0fb545963..c43668cc15 100644 --- a/chardev/char-socket.c +++ b/chardev/char-socket.c @@ -468,9 +468,9 @@ static char *qemu_chr_socket_address(SocketChardev *s, const char *prefix) #ifdef CONFIG_LINUX if (sa->has_abstract && sa->abstract) { - abstract = ",abstract"; + abstract = ",abstract=on"; if (sa->has_tight && sa->tight) { - tight = ",tight"; + tight = ",tight=on"; } } #endif |