aboutsummaryrefslogtreecommitdiff
path: root/chardev
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2021-07-21 16:55:53 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2021-08-04 23:23:31 +0400
commit30f80be34ba6142dc7ba2015b98d661a9529b7c5 (patch)
treebc75e79a8ed176fc45cff0ad67d51851864aecf1 /chardev
parent4cfd970ec188558daa6214f26203fe553fb1e01f (diff)
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.c4
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